Pages

Sunday 20 September 2015

Use Angular JS MVC architecture inside a Asp.net MVC application.

AngularJS work on MVC architecture so we take benefit of it in our asp.net mvc applications. Another benefit of AngularJS is HTML Template rendering. Asp MVC Snippets bring a new article which show you how you can integrate Angular JS in your application and then using this defined architecture call your Asp.net MVC controller for fetching data and render in HTML...

Please see this Article for more details

Learn how we set-up a angular JS environment inside a Asp.net Application.

Now a days Java script libraries are very popular. one of these is AngularJS. Asp MVC Snippets bring you article which show you how you can setup a angular JS environment inside a Asp.net MVC application.

For Details. Please see this article

 

Friday 28 August 2015

learn how we can use Ajax.BeginForm in Asp.net MVC

Asp.net MVC provide facility to render partial views using ajax technique. for this purpose Ajax.Beginform used.

See this Asp.net MVC article to learn how we can achieve this. 

Saturday 22 August 2015

Find specific column from whole database with single query

Most of the time database is so big that you can't remember where is the specific field or column or which table contain it. so i bring a simple solution for you .
Here is the detail of  finding a column from database schema.


Use multiple get methods and in single web API controller.

WEB API is very flexible feature provided by Microsoft. you can expose your data using WEB API over HTTP. send and receive data on different platforms regardless platform compatibility.

By using WEB API you may face issue that how define two GET or POST methods inside a single controller. yes this is possible and using Attribute routing you can achieve this goal.

Please Visit my website link for details.

Keep update yourself with new articles like my facebook page.

Saturday 1 August 2015

Learn how we can embed Google Search API in Asp.net MVC

So please pay attention. you need client requirement to show google results in his website... so what are the possible solutions to achieve this goal? Redirect user to Google and ask theme to write query their and search for it ? i think we are not completing our client requirement. So here is the solution.

Read Asp.net MVC Article about Embed google search Api in Asp.net Application and don't forget to like our Facebook page

Friday 31 July 2015

New features in .Net framework 2015

so you have craze to learn new technologies related to Microsoft? if yes then cheers. i bring you a small video which introduce you with new features which are coming in latest .net framework release.



Video embed from Channel 9
visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

New HTML5 SVG Support

18) Learn SVG Graphics editing work in HTML5



Video embed from Channel 9
visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

Work with HTML5 Canvas Tags

17) Learn usage of HTML5 Canvas Tag.



Video embed from Channel 9
visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

HTML5 video Embeding in webpage

16) Learn how we embed video in webpage using HTML5



Video embed from Channel 9
visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

Learn Font face usage in CSS3

15) Learn font faces in CSS3



Video embed from Channel 9
visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

Learn BOX properties using CSS3

15) Learn box properties 



Video embed from Channel 9
visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

Monday 27 July 2015

CSS3 properties for Table and list

14) Understand how we can use CSS3 for tables and lists


Video embed from Channel 9
visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

CSS3 Advance color properties

13) Understand how we can use CSS3 Advance text properties



Video embed from Channel 9
visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

Learn CSS3 font and text propery

12) Understand how we can use CSS3 Text property



Video embed from Channel 9
visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

Saturday 25 July 2015

Understanding CSS rules and regulations

11) Understand how we can use CSS3 rules in our HTML document and apply styles 

 



Video embed from Channel 9
visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

Form Validation In HTML5

10)Learn Form validation in HTML5

Video embed from Channel 9
visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

Working with forms in HTML5

9)create forms using HTML5

Video embed from Channel 9
visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

Working with Tables in HTML5

8)Working with Tables

Video embed from Channel 9
visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

Work With HTML List attribute

7)Working HTML List


Video embed from Channel 9
visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

Learn how to work with HTML5 Image and Figures

6)Working with Images and figures 


Video embed from Channel 9
visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

Define Structure of your HTML Document

5)Structure you HTML5 Document Using HTML5 tags


Video embed from Channel 9
visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

work with paragraphs and text in HTML5


 4)Learn how to work with paragraphs and text in HTML5


visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

Get Familier with HTML5 Syntax

3)Understanding of HTML5 syntax 

 

visit our website to learn Asp.net MVC
Like our facebook page to keep update yourself.

Using CSS3 in Your HTML 5 Page

2)Styling webpage using CSS3



  visit our website to learn Asp.net MVC
  Like our facebook page to keep update yourself.

Leran HTML5 CSS and Javascrpit

i am sharing series of Channel 9 by Bob Tabor. This is very helpful for every kind of developers. if you are a beginner then this is best for you and if you are experienced developer then you can also see these videos for refreshing your concepts about these basics techniques.

1)Creating first web page using HTML5



  visit our website to learn Asp.net MVC 
  Like our facebook page to keep update yourself.

Learn how we implement SEO friendly URL Route in Asp.net MVC

Friendly URL are now trend in modern web development. almost every website using this. Humans and search engines crawler try to fetch information which is more relevant to their search query.

Asp.net MVC Snippets Article show you how you can implement SEO friendly URL with database

Please comment about your views and like our facebook page to keep update yourself with latest Asp.net MVC tips and tricks

Friday 24 July 2015

Learn page inspector usage in visual studio 2013

in asp.net webforms we can easily navigate to our design view but as you can see that their is no design view option in Asp.net MVC. but you can still use page inspector to see the design during applying styles and writing markup. see below video to learn more.



Visit our website for more Asp.net mvc tutorials

Like our facebook page and keep update your self with latest Asp.net MVC tutorials and code snippets.

Introduction to URL Routing Asp.net MVC Video tutorial

URL Routing is a power full feature in asp.net mvc. you can make friendly URL using these features which are more flexible for both search engines and human beings.


Visit our website for more Asp.net mvc tutorials

Like our facebook page and keep update your self with latest Asp.net MVC tutorials and code snippets.

using Knockout JS in asp.net mvc application Video tutorial

Visit our website for more Asp.net mvc tutorials

Like our facebook page and keep update your self with latest Asp.net MVC tutorials and code snippets.

Thursday 23 July 2015

Using paging in asp.net MVC application

Most of the beginner programmers confused when they see implement paging in their task list. Writing complex stored procedures, complex paging formulas comes in mind at first sight.

But thanks to Asp.net MVC which provide us a flexible way to implement paging on large records.

Visit Asp.net MVC Article to learn how we implement paging on large records using PagedList.

Like our facebook page for more good stuff.

Thanks

Wednesday 22 July 2015

using angular js in asp.net mvc application

So you are learning in these days name of new JavaScript library AngularJS. This library is written is just like jquery and easy to use.

you can done almost every work with this great guy. Angular based on MVC architecture and you can declare your own modle and controllers to define your schema.

Asp.net mvc snippets provide you a simple and nice article on Angular.

Like our facebook page and learn Asp.net mvc 

Sunday 19 July 2015

image swapping using jquery

so you are making a tree and you want to change icon of each tree node when it collapsed and change icon when it close what you do?

simple you can use jquery for swap images. jquery toggle function provide us functionality to change contents. so we can change images of html image control.

visit Asp.net mvc snippets images swapping in jquery article and see the code snippet.

Like our facebook page and up to date your self with asp.net mvc tips and tricks.

Thanks

Friday 17 July 2015

Model binding in asp.net MVC

Model binding is very power full feature provided by asp.net mvc based applications.

You have no need to map each and every property to your model class. just make a model base view and then define a controller which handle this form post.

Asp.net MVC Snippets Article Describe it very well . Read this article and provide your comments.

Like our facebook page for more snippets.

Thanks.



Thursday 16 July 2015

Scroll two text boxes parallel using jquery

so you want to compare two text boxes text what you do? go for a third party software or make your own solution?

Being a programmer i suggest that grab a cup of Coffey and your favorite HTML Editor to implement this.

Jquery provide you efficient way to handle client side controls.  so Asp.net MVC article about scroll parallel two text boxes using jquery help you how you can achieve this goal.

Like our facebook page for more useful code snippets. 

use jquery to limit text box input

Jquery is ninja of client side scripting. you can do lot of things using this guy.

Client side validation is aspect of modern web development and have major benefits,  you can apply checks on client data and confirmations.

Read this Asp.net MVC Snippets article about  limit textbox characters using jquery

You can also learn by Reading this article that Preview images before uploading on server using jquery provide you Asp.net MVC snippets

Wednesday 15 July 2015

Using IQueryable in linq query

linq is very power full features for query on database. you can use linq with entities, with object with xml and linq to sql.

This post is about usage of IQueryable interface in linq. IQueryable implements IEnumrable interface and return enumerated values.

You can use foreach loop over enumerated values. and no need to cast objects in list data type.

you can learn more about this in This article

Tuesday 14 July 2015

Using multiple joins in linq query

So guys do you understand the title of this post? if not than don't worry soon you face this problem if you are love using linq and entity framework.

In Sql we can easily use multiple joins in our query and get result. but what we do in linq if multiple join condition  come up? Do not worry linq also provide solution about this.

Read this Article to see what happened when we use multiple joins in linq query

Monday 13 July 2015

Rendering asp.net mvc partial views using jquery get method.

Jquery is very useful in different manners. I tell you before that you can communicate with server using jquery ajax method and render data in your HTML markup.

so is it end of jquery usage? answer is no. you can still do lot of things using jquery. now you have no need to transfer all data to success method in JSON format and then perform huge string concatenation operations and loops to display html.

In Asp.net MVC you can create partial views and now you are able to load these partial views using jquery get method.

Read this article which demonstrator how we can render partial view using jquery

Sunday 12 July 2015

Popover show using bootstrap

You have no idea about how your blog readers or website users access your blog and website/
 They might be using android phone browser, a desktop, a laptop or a tablet. so how you set up your blog or website so that your design remain consistant in all these devices.

if you have answer then great other wise your answer is BootStrap.

Bootstrap is very power full CSS framework which used to make responsive websites. You can use more with bootstrap like define color of buttons and show a pop over any where you want.

Read this Article show you learn how to show popover using bootstrap.

Export Data in excel file and download file in asp.net mvc

Some times you need to show some excel reports to your bosses or clients which do not have idea how they generated but they are expert to analyze it.

Making Excel file in c# not a big deal. but in Asp.net mvc where most of rules are changed and you need to go with proper direction. you need become more tricky in your programing logic.

you can get idea about Export data in excel file in asp.net mvc from this Post. Like and share for others.

Entity farmework database first approach in asp.net mvc application

So finally we get rid of writing complex queries directly in C# code and spending hours and hours to find error. and what we find at last is a semicolon missing.

Entity framework come with solution and provide us a highly valuable ORM model which we can use to handle database. this is very unique for you if you are coming form PHP etc.

This example show you how we can connect our Asp.net MVC application with database using entity framework database first approach

Use JQUERY AJAX in asp.net MVC

so you are coming from webforms experience in Asp.net MVC then do not worry. roll up your cuffs and prepare yourself for more fun and interesting coding.

Now you are in RAZOR  so do not remember your best friends in webforms which are data bind controls like gridview, listview, repeater, datapager etc. you are now in more advance field where you create own controls and done with that what ever you need.

Jquery ajax methods bind server side and client side. work like a bridge. without full post back you can just target specific function and update your contents.

This example show you a very basic task in which you bind HTML dropdown list with server side data using Jquery Ajax method.


View Image in broswer before uploading to server.

So you think how facebook show you your profile picture in browser before uploading to server? i think every time when i change my profile picture on facebook.

if you have some little experience in web development then you also listen or use this guy JQUERY.

Jquery is a javascrpit client side library which we used to handle lot of things on client side.

So what do you thik we need to play some more with it? if yes then grab a cup of coffee or piza :P and fallow this tutorial .


Files uploading in Asp.net MVC

A good up and running website always interact with users in different ways. Uploading pictures, Uploading some important document etc are part of any good website.

Asp.net MVC provide power full features to interact with user one of is File uploading. Asp.net MVC used HTTPPOSETEDFILE to upload file on server.

Uploading single file in Asp.net MVC not a big deal but if you have a e-commerce store and ask users to upload multiple files of your product that what you do?

This one is also simple not a big deal. Check this Tutorial
Do not forget to comment below and share your experience.

About this blog

Here you can find new and latest Asp.net MVC tips and tricks and learn Asp.net MVC daily programing challenges.

Asp.net MVC is a power full programing pattern which provide you a rich and fully customizable way to develop web based solutions for any kind of industry

keep visiting this blog for Asp.net MVC code snippets which you need daily