Load ASP.NET MVC partial views on link click

Some one asked me how we can load partial views on link click. Here is the snippet for the same. Long version - Using JQuery <script type="text/javascript"> $("#loadPartialView").click(function () { $.get('@Url.Action("LoadPartialView","Home")', {}, function (response) { $("#Display").html(response); }); }); </script> And here is the small version using Ajax.ActionLink @Ajax.ActionLink("Load Partial View",...


K-MUG KOCHI DEVCON 2015 - March 14

The Kerala Microsoft Users Group (K-MUG) will be organizing a Developers Conference, K-MUG KOCHI DEVCON 2015 on 14th March 2015 at InfoPark Hall, Athulya Cafeterial Block in Kakkanad. K-MUG is one of the best developer community in India, which got Best User Group award in India as part of Microsoft...


HTML5 Application Cache and Azure websites

Today I faced any issue with HTML5 Application Cache (I will post about HTML5 Application Cache later), I deployed an HTML5 application to azure website, but I was getting error like this Application Cache Error event: Manifest fetch failed (404) This issue was due to the MIME type mapping was...


How to identify static class using reflection

Today someone asked me, how to find static class from list of types. I was against the implementation he was doing, but still I couldn’t find how to find static class. Later I did some research and I found like you need to look for ** IsAbstract ** and IsSealed...


Introduction to Dapper.NET ORM in ASP.NET 5

Dapper.NET is an open source, high performance Micro-ORM supporting Sql Server, MySQL, Sqlite, SqlCE, Firebird etc, from Stack Overflow team. Drapper provides extension methods for IDbConnection, so you require an instance of IDbConnection to use Dapper. To use Dapper, you need to include Dapper in the project.json file. In this...


k web command and agile development environment

With the new version of ASP.NET, you can avail the flexibility of deploying your app via an agile app development methodology, where you can modify and save the C# file and refresh the browser, your changes will be updated automatically. You don’t need to go for any explicit compilation in...


How Intercept HTTP calls from WCF client to service

Today I faced some problem, I had to intercept HTTP calls from WCF proxy to WCF service. I was using Fiddler 4. But unfortunely it was not working :( I tried many options.(It was not working for me, but it may work for you) By using system.net proxy setting -...