HTML5 Application Cache and Azure websites

Posted by Anuraj on Friday, March 6, 2015 Reading time :1 minute

.Net .Net 4.0 ASP.Net MVC Visual Studio

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

How to identify static class using reflection

Posted by Anuraj on Thursday, February 26, 2015 Reading time :1 minute

.Net .Net 3.0 / 3.5 .Net 4.0 ASP.Net Visual Studio

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 properties of the type.

Introduction to Dapper.NET ORM in ASP.NET 5

Posted by Anuraj on Sunday, February 22, 2015 Reading time :1 minute

.Net .Net 3.0 / 3.5 .Net 4.0 ASP.Net ASP.Net MVC CodeProject Windows Forms

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 post I am using Repository pattern and injecting the repository to the controller via constructor injection.

k web command and agile development environment

Posted by Anuraj on Thursday, February 19, 2015 Reading time :2 minutes

.Net ASP.Net ASP.Net MVC Visual Studio

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 Visual Studio. The in-built .NET Compiler Platform ROSLYN available with ASP.NET vNext handles app deployment transparently in either the server or the development machine. This feature is only available with Visual Studio, it won’t work with “k” command. The k command comes with –watch switch, documentation says “Watch file changes”, but it is also not working. When there is a file change, it will stop the server. I found few Node plugins for this purpose. Today I thought of writing a C# implementation.

How Intercept HTTP calls from WCF client to service

Posted by Anuraj on Thursday, February 12, 2015 Reading time :1 minute

.Net .Net 4.0 ASP.Net Visual Studio WCF

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)

Converting DataTable to Generic List

Posted by Anuraj on Monday, February 9, 2015 Reading time :1 minute

.Net .Net 3.0 / 3.5 .Net 4.0 ASP.Net Windows Forms

Code snippet for converting a DataTable to Generic List.

TagHelpers in ASP.NET 5

Posted by Anuraj on Sunday, February 8, 2015 Reading time :1 minute

.Net ASP.Net ASP.Net MVC

TagHelpers is a new feature in ASP.NET, it is similar to HTML helpers, which already available in ASP.NET MVC. Similar to HTML helps TagHelpers allows to process server side content on HTML controls. So
Translate
Subscribe
BMC logoBuy me a coffee


Copyright © 2018 - Anuraj P. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Hosted with ❤ by GitHub