Posts tagged ‘.NET’

101 LINQ Samples

Those are some of the most outstanding LINQ samples ever. They are posted in the MSDN Library.

New release of ILMerge (v2.10.0219)

As we promised to keep you posted with new releases of your favorite applications and development tools.

Today, Mike Barnett released the new version of ILMerge (v2.10.0219)‏ that fixed a bug where the /ver option did not correctly enforce the AssemblyVersion attribute’s specification.

An extensive list of .NET-aware languages

You already know that many languages targets .NET and conforms to the CIL specifications.

The following article lists many of languages that target the .NET and CIL.

Marshaling Unions

If this is your first time you hear about unions or you need to know more about them, please refer to our article “A short speech about Unions” first.

You can marshal a union the same way you marshal structures. However, because of the way that unions laid-out into memory, you will need to explicitly set variable positions inside the type.

Download Microsoft Visual Studio 2010 Beta 2

Now you can with Visual Studio 2010 Beta 2

Microsoft Win32 to Microsoft .NET Framework API Map

This MSDN article identifies the .NET Framework APIs that provide similar functionality to those of Microsoft Win32 API.

ILMerge 2.9.0727 is now available

Latestly, Mike Barnett the developer of ILMerge released the new version 2.9.0727 which fixes major problems that was exist in the previous version 2.9.0210.

Sending Mails in .NET Framework

This lesson focuses on how to send mail messages in .NET Framework via a SMTP server. It firstly discusses the techniques which .NET Framework provides you to send mail messages. After that, it discusses types available for you when working with SMTP servers. Next, it discusses how to implement these techniques and to send mails from a .NET client.

At the end of this lesson, there is a sample application, Geming Mail+, which is used to send mails from a various SMTP servers. This application is open-source, so you can download its code freely.

Working with SQL Server Logins

This lesson discusses all the details of SQL Server logins. It begins by discussing how to create SQL Server logins. After that, it focuses on how to change the properties of existing login. Next, it discusses how to delete an existing login. Moreover, we will focus on how to enumerate a list of existing logins and roles. Lastly, we will talk a look on how to manage login permissions in SQL Server. In addition, we will link between SQL Server and .NET Framework and we will teach you many techniques other than what this lesson is focusing on.

Requesting Admin Approval at Application Start

User Access Control (UAC) is a feature of Windows that can help prevent unauthorized changes to your computer. UAC does this by asking you for permission or an administrator password before performing actions that could potentially affect your computer’s operation or that change settings that affect other users.

Moving a Form without the Title Bar

Today, we are talking about how to move a form without its title bar.

You might have noticed that some applications with fancy UIs do not allow the user to move the window from its title bar. Honestly, some hide the overall title bar from the user. An example of these applications is Microsoft Windows Media Player -when in skin mode,- and Microsoft Windows Live Messenger. Both applications allow you to drag their windows using the client area not the title bar.

In this lesson, you will learn how to do this trick to move the form without its title bar.

Changing Display Settings Programmatically

Previously, we have talked about how to change screen resolution and color system via DirectX. Today, we are talking about how to change all display settings -not the resolution and color system only- via API. We will change screen resolution (bounds,) color system (bit count,) rotation (orientation,) and refresh rate (frequency) via API with C# and the .NET Framework.

Changing Screen Resolution Programmatically via DirectX

This lesson focuses on how to change the screen resolution and color system programmatically via DirectX. It starts by an overview about how the Windows satisfies user’s need through the Display Settings window. Then, it digs into discussing how to retrieve these settings and to change these programmatically in the .NET environment.

Hacker Develops Tool to Hide Malware in .NET

A computer security researcher has released an upgraded tool that can simplify the placement of difficult-to-detect malicious software in Microsoft’s .NET Framework on Windows computers.

Programmatically Turning on the Screen Saver

This lesson focuses on how to programmatically turn on the screen saver.