by Yogesh | Mar 1, 2017 | Asp .net MVC
How to retrieve query string parameter in action.- By passing action argument as Query string parameter public ActionResult Index(string urlparameter) { return Content("Your Url parameter is " + urlparameter); } By ID Parameter: ASP.NET MVC’s default routing...
by Yogesh | Feb 23, 2017 | Asp .net MVC
Today we are going to discuss a very important concept of MVC 5 and Web API 2 that is attribute routing. Attribute routing is used to define various attributes routing URL over controller and actions level. Up to mvc4 we learned about convention based routing. To...
by Yogesh | Feb 15, 2017 | Asp .net MVC
Before understanding about routing constraints we should have knowledge about routing. Routing is a mechanism by which we can call specific controller and their actions through specified URL. We can Define Multiple roots into RootConfig.cs file using map route...
by Yogesh | Feb 14, 2017 | Asp .net MVC, ASP.NET Core 1.0 Tutorials
It’s a attribute that which is used on the methods who are defined by public access modifier.Actually MVC Framework treats all public methods as URL but in case if you don’t want this then you have to make a method buy decorated it by non action...
by Yogesh | Jan 27, 2017 | Visual Studio Tricks & Tips
In this blog I am going to write some tricks and techniques by which we can make our visual studio 2015 more faster. In fresh installation of visual studio it works perfectly and faster but sometime after when we created many applications then the performance of...