Tagged articles
Image from Pexels

Tagged articles - .NET

Found 104 articles tagged with .NET

Debugging Windows Service application with console in C#
An easier way to debug and develop Windows Services
 
0
Developing Windows Service might a a real headache since you do not have any visual part to see the output. Even if you want to rely on Visual Studio debugger you need to install the service, stop it (if already running), deploy, start the service from Windows MMC and finally hook up Visual Studio to the running service process...read more
IP address filtering from C# code in ASP.NET MVC and Web Api
Restrict or allow specific IP addresses to access your WebApi or MVC
 
0
Last year I wrote an article about IP address filtering on MVC and WebApi Restrict Access to an MVC Action or Controller based on IP address. Over time the requirements for IP filtering in several web based application increased, so I had t work on this class to make it more extendible and reusable in different scenarios...read more
.NET managed scheduled task runner
Scheduled managed code execution in .NET
 
0
Sometime ago I wrote an article about Windows Scheduled Task vs Windows Service where I compared and listed benefits and drawbacks of using scheduled tasks in Windows and Windows Services for executing certain operation which repeats in some time span. However idea of executing tasks in a single Windows Service is very useful if you need to execute task in a short time span plus you have a full control including logging and other fine grained customization in case you write the task in your code...read more
Easy collection comparing in C#
Copmare collections in C# the easy way
0
Collections are part of pretty much any application and they are convenient to store any type of data. Introducing LINQ in .NET things got a lot easier as your code does not need to be full with loops for performing simple operations on collections of any type...read more
Multiple console output in C#
Write console output to file and screen at the same time
 
0
Console applications are the simplest one and very convenient when you need to quickly test some functionality. Some time the functionality that you test with console application may take time and since it is test usually it happens that it crashes...read more
JSON data validation in C#
Validate JSON data with C# in .NET framework 4
 
0
JSON is slowly but certainly taking over the throne of XML. It is much lighter, a lot easier to deserialize, but still there are some features that XML is better in...read more
Changing service reference configuration in the runtine
Updating service reference without restarting your applcation
 
0
Using web services in C# and in general in .NET based applications is really easy. All you need is a service URL and Visual Studio will generate both proxy classes for service communication and configuration for web service endpoints and bindings...read more
Managing keys for shared collections in .NET
Ensuring unique keys for shared collections in .NET
0
Dealing with shared collection in application is always a bit tricky. You have to take care of concurrent access if you are accessing from multiple threads. One more thing which does not look so important as it is not difficult to implement is managing keys for addressing values...read more
Auto reload application config in .NET
Reflect config file changes in application in a runtime
 
0
In .NET working with configuration is really easy and there are bunch of .NET classes that rely on config values so you do not have to specify values in their constructors. For me it a common practice to instantiate database connections of WCF client by only creating an instance with parameterless constructor while keeping values in config file...read more
Easy and simple way to bind ADO object to POCO object
Simple one way binding of ADO database objects to POCO
 
0
This article is base don the article I wrote in September last year. Basically I wrote this piece of code because I needed something really lite for one way binding...read more
PowerConsole extension to System.Console
.NET console extended
0
Most of developers, at least all the ones I know mostly use Console to test their code as it is the quickest way to do it. Despite unit tests, console is a fastest way to test your code where you can easily output the results. However if you have a lot of text in output you can get lost in results...read more
Reading config value to a proper data type
Automatic conversion of values from app.config
 
0
Reading from application config is pretty easy in .NET. You literally need one line to fetch the value...read more
Generate sitemap.xml on the fly in Umbraco CMS
Simple sitemap.xml Umbraco handler
0
Sitemap.xml is important component of SEO which is responsible for indexing your website. Search engine robots are generating indexes of your website based on this file. Since content in Umbraco website is dynamic, it makes not so much sence to have static sitemap.xml file for indexing your content...read more
Fast image search in .NET using C#
Searching images on the file system with C#
 
0
Searching files on the file system is pretty easy using System.IO namespace classes. The problem is if you need to youery file system with some things which are related to a file, but not related to file system itself...read more
Benefits of binary serialization in C#
Manipulationg with object instances using binary serialization in C#
 
0
By default object instances in .NET are never "trully" clonned. Instead .NET is doing shallow copy of instances which means if you have one variable which is object instance and you assign that variable to other variable, both of them will point the same instance of that object...read more

.NET

read more

JavaScript

read more

SQL/T-SQL

read more

Umbraco CMS

read more