.NET Zone

Working with Aspose.Pdf for .NET

Aspose.Pdf for .NET is a popular tool that can be used to create PDF documents. It helps you to create and manipulate PDF documents in .NET with ease. Most importantly, you can leverage Aspose.Pdf to manipulate existing PDF documents sans the need of having Adobe Acrobat installed in your system.

Dependency Injection in C# Using Aspect.NET Framework

Aspect Oriented Programming (AOP) has been around for a long time now. It enables you to decouple the cross cutting concerns from your application and solve code tangling and eliminate code duplication. Some of the widely used cross-cutting concerns include: logging, exception handling, security, caching, performance monitoring, etc. There are

New Features in ASP.NET Core

ASP.NET Core is the latest Web application development framework from Microsoft. It is a significant redesign of the legacy ASP.NET framework and has already become widely popular. ASP.NET Core is a lean, composable, Open Source framework that you can use to build Web and Cloud applications. Most importantly, ASP.NET Core

Determine What Permissions the User Has on the System

You can find out what Permissions the current user has with the Security and Security.Permissions namespaces as in the following example which determines whether or not the user has certain permissions on the computer: using System;using System.Collections.Generic;using System.Text;using System.Drawing;using System.Drawing.Printing;using System.Security;using System.Security.Permissions;namespace ListPermissions{class Program{static void Main(string[] args){UserPerm(new FileIOPermission(PermissionState.Unrestricted));UserPerm(new EnvironmentPermission(EnvironmentPermissionAccess.Read, “USERNAME”));UserPerm(new

Working with Concurrent Queue in C#

A queue is a data structure that works on a First – In – First – Out (FIFO) basis. So, you would typically use a queue when you need items to be added and removed on a FIFO basis. Items are added at the end of the collection – this

Building Duplex WCF Services

Take advantage of the duplex message exchange pattern to send messages from the server to the connected clients in WCF. The Windows Communication Foundation (WCF) is a Microsoft programming framework that enables developers to implement service-oriented applications. WCF supports messaging and can be used to design and implement platform-independent, scalable

Overview of the New Features in .NET Framework 4.6

Microsoft .NET Framework 4.6 is the next version of the widely popular managed runtime environment from the software giant. As of this writing, the latest stable release of Visual Studio is Visual Studio 2013. Visual Studio 2015 is still in its preview stages. Microsoft .NET Framework 4.6 ships with Visual

Pitfalls in C#: Changing From a Field to a Property

Learn more about the challenges that software developers face when fields are changed to properties in C# programs. It presents an example of a code error that is difficult to discover without unit testing. This example should help the reader to avoid similar errors. Task The task was to change

Microsoft Delivers New 64-Bit JIT Compiler for .NET

Microsoft’s .NET team has introduced a new 64-bit just-in-time (JIT) compiler code-named RyuJIT. In a recent blog post, Andrew Pardoe, PM manager for the Common Language Runtime (CLR) PM team, said Microsoft’s existing 64-bit JIT compiler is fast, but may not be fast enough for some uses. “The world is

No more posts to show