Azure-System.MethodAccessException: Attempt by security transparent method

Posted by Anuraj on Friday, February 6, 2015

.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

Posted by Anuraj on Friday, February 6, 2015

.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

Posted by Anuraj on Thursday, February 5, 2015

.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

Posted by Anuraj on Wednesday, February 4, 2015

.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

Using SignalR in ASP.NET 5

Posted by Anuraj on Thursday, January 29, 2015

.Net ASP.Net ASP.Net MVC Visual Studio

Long back I did some post on SignalR, A collaboration White Board using HTML 5 and SignalR. In this post I am converting that solution to work with ASP.NET 5.

Creating a WCF service proxy with ChannelFactory

Posted by Anuraj on Friday, January 23, 2015

.Net .Net 4.0 Visual Studio WCF

A proxy, in its most general form, is a class functioning as an interface to something else. The proxy could interface to anything: a network connection, a large object in memory, a file, or some other resource that is expensive or impossible to duplicate.(From wiki). In case of WCF, proxy class helps client application to use WCF service,without knowing the address or implementation details. Here is the code for generic WCF proxy, using ChannelFactory class. ChannelFactory enables you to dynamically creating a proxy object based on the Service Contract. It will help you to avoid update service references or proxies generated using svcutil utility.

Windows is trying to configure Visio upon Application Start-up

Posted by Anuraj on Tuesday, January 20, 2015

Miscellaneous Windows 7

This post is not related to anything programming :) In my system, when launching Visio, the application will pause while displaying “Please wait while Windows configures Microsoft Visio”. And after sometime, it shows the main window.
MVP
Subscribe
Archives


Copyright © 2017 - 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