Category: .Net

How to solve Access-Control-Allow-Origin

When you are trying to do an http post from your Jquery, Angular or any client side script language to an web API that has a different domain name as yours, you will be getting error on the web browser that says: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore Read More …

How to use Log4Net in C# application

Introduction: Log4Net is library that you can use to manage data logging into flat files. The Log data might vary from informative messages, Diagnostics messages to Error messages and will help in debugging and troubleshooting issues on the application with out the need to debug the code line by line. The main purpose of this Read More …

SignalR App Considerations and Constratints

Before start considering SingalR to solve your business problem, you need to make sure that you have the right environment. Signal R can’t be installed in all .net environment as it has minimum requirements… below is the constraints that you have when developing SingalR applicaiotns: 1. Operating System Constraints: SingalR applications can be installed on Read More …

What is Extension Methods

Extension Methods is one of a nice features introduced with .Net 3.0 that allow developers to add new functionalities to existing data types without having a need to inherit from these types or compile old code. For example, if you are encrypting and decrypting strings in your application, wouldn’t it nice to have a code like Read More …

Introduction to SignalR

What is ASP.Net SignalR SignalR is a Technology that enable Real-Time messages/contents to be pushed from server to connected web clients without the need to refresh the web pages every specific period of time. In the old days, we used to have schedule timer on client side to request new data from server every specific period Read More …

Optimize Orchard Setup on Shared Hosting

In the past few days I was trying to setup Orchard on Godaddy shared hosting server. The steps that I follow was: Download Orchard CMS source code from the following link http://www.orchardproject.net/download   On this page, there is multiple options to download, I downloaded the one with Source Code as I’m interesting to look into Orchard code Read More …

Enlarge the Font Size on Visual Studio

I was using Visual Studio 2013/2015 on small screen. The main issue that I was facing is the small font size for solution explorer and menu items. That was the main issue that I’m facing of using small screen. Thankfully there is a way to enlarge the font size for menu items and solution explorer.. Read More …

What is Windows Universal Apps – in Short

Universal Apps in short is an application model that Microsoft invented for applications that is being served in Windows Store. This enabled the application to be served in both Windows Store and Windows Phone Store. It is not a really universal application cross all platform, but it is universal in Windows world only but this Read More …