Blog

Blog posts on .NET, Azure, and more.

Continuous Deployment (GitHub) with Azure Web Sites

February 07, 2015 by Anuraj

.Net .Net 4.0 ASP.Net ASP.Net MVC Version Control Visual Studio Windows Azure

Windows Azure websites supports Continuous Deployment. Continuous Deployment can be thought as an extension of continuous integration, where when ever users commit a changeset, build will be triggered. And in case of Continuous Deployment, the changes will be published to your live application directly from source control, when ever user commits a changeset. This is a fantastic automation feature that can be leveraged from a range of source control tools such as Visual Studio Online and others (GitHub, BitBucket, DropBox, CodePlex, or Mercurial) . Azure websites supports staged publishing (it is in Preview state) as well, so if you don’t want to publish your changes direcly to live, you can deploy it to staging and verify it. Once verification is completed, you can push the staging to live.

Azure-System.MethodAccessException: Attempt by security transparent method

February 06, 2015 by Anuraj

.Net .Net 4.0 ASP.Net ASP.Net MVC Windows Azure

Today I faced a strange issue, after publishing an empty ASP.NET MVC application to Azure WebSite.

View Components in ASP.NET MVC 6

February 06, 2015 by Anuraj

.Net ASP.Net ASP.Net MVC

In ASP.NET MVC 6, Microsoft introduced View Components, which similar to partial views, but they are much more powerful. It is like a mini controller, which helps to render a part of response rather the whole response. View Components consists of two parts, a class, derived from ViewComponent class(Similar to POCO controllers, ViewComponent can also be POCO, it supports convention based and attribute based identifications) and a razor view which invokes the method in ViewComponent class.

Cookie Authentication in ASP.NET 5

February 05, 2015 by Anuraj

.Net ASP.Net ASP.Net MVC

This post is about cookie based authentication in ASP.NET 5. I am implementing a cookie authentication in ASP.NET MVC application. Similar to other middleware components in ASP.NET, Cookie Authentication is also a middleware component, which you need to plug into ASP.NET pipeline.

Sending email message using Exchange Web Service Managed API

February 04, 2015 by Anuraj

.Net ASP.Net ASP.Net MVC Visual Studio

Microsoft Exchange Web Services (EWS) is an interface by which you can programmatically manage Exchange items such as calendar, contact, and email. Microsoft Exchange Web Services is an Application Programming Interface (API) that provides programmatic access to the information and business logic in Microsoft Exchange Server 2007 or later versions. EWS is now an open source project, you can find it in github

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