Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers: .Net
Showing posts with label .Net. Show all posts
Showing posts with label .Net. Show all posts

Product Review: Crypto Obfuscator for .Net

Everybody wants to protect their code from unauthorized reverse engineers. Isn’t it? For this, a company or a developer needs a Obfuscation tool to add huge noise bits in the generated executable and encrypt it to make sure the disassembler can not read it.

 

There are many tools in the market and I did some research with few of them. Among them, I liked the “Crypto Obfuscator” tool from LogicNP Software and thus thought to write a review of it here.



How to Install .NET Framework 3.5 in Windows 8 or Windows 8.1?

It was not as smooth as I thought while installing the Windows 8.1 as a fresh OS in my laptop. Though the OS and other major software installation was smooth, but I faced lots of issues while installing some software's that need .NET Framework 3.5.

 

Did lots of analysis, tried various methods to install the framework but all failed. At the end I got an perfect solution which resolved the problem. Thought to share in case you faced similar, will help you.


How to Search for File or Folder Programmatically?

Learning never ends, everyday we learn at least one thing. This applies to both our personal and programming stuffs. Today I learnt coding stuff which I wanted to build in one of my application. Thought to share the same in case you need, this will help you.

 

Did you ever think about building an application to provide a directory or file search functionality to the end user? .NET provides you that APIs which we will discuss in this post today.


What is Lazy loading and how this will benefit your project?

Let’s suppose you built an application which loads records in a Grid in a paginated manner. But when you loaded thousands of records, you noticed that, it is taking more time to load than the expected time and your boss was not happy with that.

 

So, what to do? Are there any kind of proper solutions or workarounds to reduce this load time? If so, what are those? Let’s began with our post with a problem statement.


Visual Studio 2012 and .NET 4.5 Expert Development Cookbook

One of my friend, Abhishek Sur (Microsoft MVP, Client App Dev), recently published a book titled "Visual Studio 2012 and .NET 4.5 Expert Development Cookbook" covering basic usage of Visual Studio 2012 IDE, its various components and better utilization of the tool.

 

This post is just an announcement of the book and introduce you with the content of it. If you are willing to buy, find herewith the links of different store.


Interview Question: What is Yield Return? Let’s have fun with it

logo

Yield is a contextual keyword available only in certain contextual statements, mainly interacts with the foreach loop. It allows each iteration in a foreach loop to be generated only when needed. In this way it improves the performance of the query.

 

Today we will discuss about it with a small funny code. Let’s see how much we actually know about this keyword. If you can answer the output of the code, you already know about it.



Events Handling as Culprit to Memory Leakage - A Developer Must Care about it

Memory Leakage in applications are most common and a developer maximum time does not care about it. There are various possibilities for Memory leakage and one of them is Events registered in applications which a developer unknowingly forgets to handle.

 

So, what are the cases where that could make problem and are there any proper solutions to tackle down this issue? Let us discuss on this topic today.


Interview Question: What is Duck Typing?

“Duck Typing” is not a common interview question but one of the interviewer in a panel may ask you this just to check your knowledge out of the common questionnaire. You might be already answered this in a different question but stucked here.

 

So, what is this “Duck Typing” and how this benefits a C# developer? Ok, let’s start discussing this in today’s blog post and I assume, you will find it interesting.


What is AutoMapper and How to map two objects using AutoMapper?

Many time we need to map objects between UI/Domain or Service/Domain layers. Mapping the objects between them is very hectic. So, are there any simplest mechanism by which I can map two objects? Is there is.

 

There is a AutoMapper class which you can use to map between two objects. This also provides option to do a custom mapping. Let’s begin with it and learn about it today.


Interview Question: Difference between a struct and a class in C#

Welcome to the Interview Questions series on C#. Last week we discussed about “ref” and “out” keywords of C# with suitable example and I hope, that gave you clear understandings about those two parameter type.

 

This week we will discuss about struct and class as few people in Facebook asked me to clarify those two types.


Targeted .NET Framework in Visual Studio 2012

Did you install Visual Studio 2012 in a fresh new environment and willing to target your project for .NET Framework prior to Framework 4 but could not see the option to change to the older framework version? This post will help you in details.

 

Continue reading more to know about the default .NET Targeted Framework of Visual Studio 2012 and the steps to install additional framework version.



Free .NET Decompiler “JustDecompile” from Telerik is now Extensible

logo

JustDecompile is a free tool from Telerik for .NET assembly browsing and decompiling. It lets you take an existing compiled assembly and then decompile the assembly language back to readable C#, VB and IL code.

 

This free .NET decompiler is now extensible and the first plugins are now available for download. Continue reading to know more about it.


Visual Studio 2012 and .NET 4.5 now Available for Download

Along with Windows 8 RTM for MSDN/TechNet Subscribers, Microsoft released Visual Studio 2012 and .NET 4.5 to the MSDN/TechNet Subscribers and all other developers. This is the latest version of the popular Software development tool in Microsoft platform.

 

In a blog post today, Somasegar announced the availability of Visual Studio 2012, .NET 4.5 and Blend. Continue reading to find out the links and other important information about this releases.


Visual Studio 2012 is releasing on 15th August 2012

Yes, you read the title right. Just after the announcement of Windows 8 RTM, Microsoft announced the release date of Visual Studio 2012. The final product will be available to MSDN subscribers and general public on 15th August 2012.

 

Visual Studio 2012 virtual launch event will be organize by S. Somasegar and Jason Zander on 12th September 2012. Don’t miss the opportunity to watch it live.


What’s New in C# 5.0 - Learn about CallerFilePath Attribute

For last two days we learnt about the new attributes named “CallerMemberName” and “CallerLineNumber” introduced in CSharp 5.0.

 

Today in this post we will learn about another attribute named “CallerFilePath” which has been newly included in C# 5. Tune in to know about it with a simple example to trace the development issues that one source file can generate.


What’s New in C# 5.0 - Learn about CallerLineNumber Attribute

Yesterday we discussed about “CallerMemberName” attribute. If you didn’t read it, you can find it here: “What’s New in C# 5.0 - Learn about CallerMemberName Attribute”.

 

Today we will discuss about another attribute named “CallerLineNumberAttribute” that has been newly added in latest CSharp version i.e. C# 5.0. Tune in to learn about it’s feature and uses to trace our development issues. Don’t forget to ask your queries and leave a comment below if this post was helpful for you.



What’s New in C# 5.0 - Learn about CallerMemberName Attribute

C# 5.0 comes with Visual Studio 2012 and .NET Framework 4.5. Currently it is in RC (Release Candidate) mode and will get the final RTM version soon. In our last CSharp blog post “Evolution of C# (1.0 – 5.0)”, we learned about the evolution of C# and also we also came to know about the main features introduced in each C# version.

 

Today in this post, we will learn about one new attribute that has been introduced in C# 5.0 named “CallerMemberName” for developers. Yes, it is for developers to trace the information about the caller code. Let’s begin discussing about it.


Evolution of C# (1.0 – 5.0) – What are the New Features Introduced in C#

C# is not new to us. We are using it since Visual Studio 2002. Currently it is in released version 4.0 and C# 5.0 is on the way to release with Visual Studio 2012. Though we are using it since a long time, but many of us don’t know the new features that has been introduced in each new release.

 

This post will cover the “Evolution of C#” from version 1.0 to version 5.0 along with the new features and respective Visual Studio version. Bookmark this post for future reference and share it to your network and help others to know.


Introducing “dotPeek” - A free .NET Decompiler by JetBrains

JetBrains released a new Decompiler and Assembly Browser named “dotPeek” for .NET Application Developers. It is a FREE productivity tool which decompiles .NET 1.0 - .NET 4.5 assemblies to C# code and has support for .dll, .exe, .zip, .vsix, .nupkg, and .winmd files. It has many features like Quick jump, Effortless navigation, Support for downloading code from source servers and many more.

 

Continue reading the post to know details about the features and find the downloadable links. I have also embedded one video describing the features published by JetBrains.


Microsoft Security Advisory (2659883) - Vulnerability in ASP.NET Could Allow Denial of Service

Today I received this “Security Alert” from Microsoft via email and thought to share this with you. If you are using ASP.Net in your server, read this post to know about it to keep your server in good health from this DoS Attack. Sharing the email as it is in this post.

 

Microsoft is aware of detailed information that has been published describing a new method to exploit hash tables. Attacks targeting this type of vulnerability are generically known as hash collision attacks. Attacks such as these are not specific to Microsoft technologies and affect other web service software providers. This vulnerability affects all versions of Microsoft .NET Framework and could allow for an unauthenticated denial of service attack on servers that serve ASP.NET pages.

 
© 2008-2017 Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers | Designed by Kunal Chowdhury
Back to top