Category: .NET

What’s New in Visual Studio 2017
[Updated for the 15.3 release] In March this year we’ve got a brand new and shiny Visual Studio. To many of us the favorite development environment. Here is a high-level recap of the changes made: Advertisements

C# 8.0 Preview
The guys from Microsoft seem to be working with lightning speed. At least when it comes to C# and the .Net framework. Looks like C# 8.0 is at our doorstep and while it’s still early news it’s exciting nevertheless. In […]

High Cohesion, Loose Coupling
We are living in a time where businesses and the people running them often change their mind. I won’t be going into details of why is that so, let’s just say it is a given, and let’s say they are […]

Value and Reference / In Depth
Whatever you do in the .NET framework deals either with value or reference types, yet, there seems to be a great deal of confusion in many discussions with fellow developers and on online forums and QA sites about where the […]
Filtering duplicates out of an IEnumerable
Problem: Filtering out(removing duplicates) from an IEnumerable One possible solution with using linq would be to group by key and take the first element of each group. Here’s an example: enumerable.GroupBy(x => x.key).Select(g => g.First())
Providing a File for Download trough a Save As Dialog in ASP.NET
The question of providing a file trough a SaveAs dialog in a web browser appears very often in the forums and QA websites like Stackoverflow. The default action of the web browser when a file is provided is to open it. […]
Using a .NET assembly in SQL Server 2008
Many times you fnd yourself in a situation where you have to do something that seems too complex to implement in TSQL or you just want to use some feature from the .NET framework, or you already have something implemented in an assembly […]
Custom Membership User
Hello again. In the first part of these mini series we discussed how you can create a custom membership provider and a custom role provider. Many times you will find yourself in a situation where you need to store and retrieve more data for a […]
Custom Role Provider
In the first part of these series we discussed and provided an example of how to create a custom membership provider. We will continue these mini series with a discussion and an example of how to create a custom role provider. We said in […]
Custom Membership Provider
Custom Membership, Role Providers, Membership User Series. Since these articles and the examples in them are pretty long, it could get pretty cumbersome to have all of them in one go so I split them up in several articles. Here goes the first one. The Custom […]