File upload in ASP.NET 5 and MVC 6

Standard

In ASP.NET 5 MVC 6 Microsoft changed the File upload feature. Now MVC 6 support model binding of multipart form data, which means, you can include file as the property of your model. Here is the View code, which helps to upload file. And here read more →

Continuous Integration with ASP.NET 5, GitHub and Travis CI – Part 2

Standard

Few days back I did a post on Continuous Integration with ASP.NET 5, GitHub and Travis CI. In that post I was using K runtime and K commands. From ASP.NET 5 Beta 4, Microsoft changed the runtime to DNX, the K runtime became obsolete. This read more →

How to unit test async controllers in ASP.NET 5

Standard

In .NET 4.5 Microsoft introduced Async methods, which helps developers write asynchronous code similar to normal code. Instead of returning ActionResult async method returns Task<ActionResult> This post is about various methods which helps to write unit tests. XUnit is used as unit framework. Here is read more →

Getting started with ASP.NET 5 configuration

Standard

When ASP.NET introduced, unlike conventional web.config, it was project.json. When I started exploring ASP.NET code, I couldn’t find the System.Configuration namespace as well. This post is about reading configuration in ASP.NET from project.json file. ASP.NET 5’s configuration system has been re-architected from previous versions of read more →

Excecute SSIS package (DTSX) from C#

Standard

SQL Server Integration Services (SSIS) is a component of the Microsoft SQL Server database software that can be used to perform a broad range of data migration tasks. SSIS is a platform for data integration and workflow applications. You can execute SSIS package from C# read more →

Working with SASS in ASP.NET

Standard

Recently someone introduced me SASS (Syntactically Awesome Style Sheets). This post is about using SASS in ASP.NET MVC with Visual Studio and using Visual Studio code. When you’re using a CSS pre-processor (SASS is a CSS pre-processor like LESS) to write your stylesheets, you need read more →