Blog

Blog posts on .NET, Azure, and more.

Command line scaffolding for ASP.NET 5

December 12, 2014 by Anuraj

.Net ASP.Net ASP.Net MVC EF Code First Entity Framework Visual Studio

Last K-MUG Session, there was a demo related to ASP.NET MVC scaffolding. This post is about scaffolding support in ASP.NET 5. This post uses K runtime for scaffolding, you can do it using Visual Studio 2015 Preview as well.

How to use SQLite in ASP.NET 5

December 11, 2014 by Anuraj

.Net ASP.Net ASP.Net MVC CodeProject EF Code First Entity Framework

SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is the most widely deployed SQL database engine in the world. Most of the ASP.NET 5 tutorials / articles, SQL Server is used. In this post I am explaining about how to use SQLite with Entity Framework 7.0.

Expression Bodied Functions and Properties in C# 6.0

December 03, 2014 by Anuraj

.Net ASP.Net Visual Studio

Expression bodied functions are another syntax simplification in C# 6.0. These are functions with no statement body. Instead, you implement them with an expression, similar to Lamda expressions.

Verify Internet connection is available using C#

December 01, 2014 by Anuraj

.Net .Net 4.0 Windows 7 Windows Forms WPF

While reviewing some code, I found a snippet for checking internet connection, like this

Dependency Injection in ASP.NET 5

November 19, 2014 by Anuraj

.Net ASP.Net CodeProject

Dependency injection is a software design pattern that implements inversion of control and allows a program design to follow the dependency inversion principle. An injection is the passing of a dependency (a service) to a dependent object (a client). The service is made part of the client’s state. Passing the service to the client, rather than allowing a client to build or find the service, is the fundamental requirement of the pattern. The pattern is used to create program designs that are loosely coupled and testable.

Copyright © 2024 Anuraj. 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. Powered by Jekyll. Hosted with ❤ by GitHub