Follow us on X (Twitter)  Like us on Facebook  Connect with us on LinkedIn  Subscribe to our YouTube Channel  Subscribe to our WhatsApp Group

.Net

Showing posts with label .Net. Show all posts

Let’s come to basics of programming today. It’s a common interview question asked during an interview and many time candidates become confused with the difference between using directive and using statement/block. Today we will cover this topic and discuss various difference among those.

 

To learn or brush up the basic concepts, continue reading more. I hope, this will clarify all your doubts. If any feedback, do share below in the comments section.

Published by on under .Net | CSharp

Many time we need to programmatically retrieve the size of a file before downloading it from a web location or a network path. This is require to calculate the progress and/or the estimated time to download and display it to the user. For a local file it is easy, but to retrieve this information from a remote location, the implementation is little different.

 

Today in this small blog post, we will learn how to retrieve it dynamically using C# code. Continue reading to know about it. Code snippet has been shared in the post.

Published by on under .Net | CSharp

This could be one of the issue you might face while using service call or HTTP Post to server. Though this issue rarely happens but in case you encounter such error in your production, possibility is your client application is facing issue connecting to the server due to proxy server.

 

If you come across such issue, this quick blog post will help you to resolve it. You don’t need to do much, but just a configuration settings will help you.

Published by on under .Net | CSharp

Serialization and deserialization of .NET objects made easy using various serializer classes that it provides. But serialization of Dictionary object is not that much easy. For this, you have to create a special Dictionary class which is able to serialize itself. The serialization technique might be different in different business cases.

 

Today, let’s discuss how to implement the same with a sample. Code is shared in the post, which you can use in your application. Continue reading and let me know if you have any other approaches.

Published by on under .Net | CodeProject

Outlook and other office applications provides an easy way to restart itself. Though there are no directly exposed APIs to restart it, but you can easily write code to do the same operation. Today in this small blog post, we are going to discuss on the code to be implemented.

 

Just three simple steps and your code is ready. C# Code has been shared at the end of the post. Let me know if you have any queries. Would be happy to help.

Published by on under .Net | CSharp

If you are facing issues installing .NET Framework 3.5 (many applications actually need this to run) in your Windows 10 and all the other options failed, my dear friend, you came to perfect page where I will show you how to install the same.

 

In this blog post, we will learn the command by which you can install .NET Framework 3.5 in Windows 10. This also works in other versions of Windows.

Published by on under .Net | Windows

Visual Studio 2015 and .NET 4.6 came up with another new feature (more precisely an enhancement) for C# 6.0 named “Dictionary Initializer”. It’s not a new thing but now you will be able to map the key/indexer directly at the time of dictionary object initialization.

 

Today in this blog post, we will discuss about this with an example. Don’t forget to read the other new features which I posted earlier. Links can be found in this post.

 

Published by on under .Net | C# 6.0

C# 6.0 came with another new feature along with Visual Studio 2015 and .NET 4.6. Now you will be able to write await operations in catch {} and finally {} blocks too. This will help many developers to do certain async operations when they encounter any exceptions or want to do async clean-ups in finally block.

 

Today in this blog post, we will discuss about this new feature. Don’t forget to read the other new features which I posted earlier. Links can be found in this post.

Published by on under .Net | Async

Did you explore the latest of C# 6.0? It brought another new feature called “Expression-bodied function members” which will allow you to write expression bodies for properties, methods etc. instead of writing statement blocks. Thus reducing the code.

 

Today in this post, we will discuss about the new feature “Expression-bodied function members”. Read more to learn about it. Don’t forget to share the feature links in your network.

Published by on under .Net | C# 6.0

C# 6.0 brought another great new feature named “Exception Filters” along with Visual Studio 2015 and .NET 4.6. If you didn’t try yet the preview version of the new IDE, go and grab it to get your hands dirty with the new features before it actually releases.

 

Today in this post, we will discuss about the new feature “Exception Filters”. Read more to learn about it. Don’t forget to share the feature links in your network.

Published by on under .Net | C# 6.0

Team JetBrains released the RTM version of ReSharper 9.0, a very popular productivity tool for the developers using Visual Studio IDE. The new release supports Visual Studio 2015 Preview and C# 6.0, along with many other new features and improvements.

 

In this post, going to share the 30-day trial version link which you can download to try the new bits. Also sharing the link towards the features. Continue to read more.

Published by on under .Net | CSharp

C# 6.0 brought a set of most useful features with Visual Studio 2015 Preview and .NET 4.6. If you didn’t yet explore the features, check out the embedded links within this post to learn what’s coming with it. Download the preview to get your hands dirty before you use in production.

 

Today in this blog post, we will discuss about a new feature called “null-conditional operators”, which will actually improve your productivity. Let’s start with it.

Published by on under .Net | C# 6.0

Visual Studio 2015, .NET 4.6 and C# 6.0 came up with lot many features. If you didn’t try the new IDE, download the preview version in a non-production environment to get your hands dirty with it. You will definitely love the new features.

 

Today in this post we will learn about another new feature called “nameof” expression which will surely solve most of the problems a developer faces when playing with properties and notifications.

Published by on under .Net | C# 6.0

Did you download the new Visual Studio 2015 IDE? If not, try the preview version before it actually releases and start improving your coding skills with the forthcoming IDE from Microsoft. Today we are going to explore another new feature of C# 6.0 coming with this release.

 

Let’s continue the series “What’s new in C# 6.0?” and show you what’s coming with C# 6.0 in terms of string interpolation/string concatenation.

Published by on under .Net | C# 6.0

Did you try the new Visual Studio 2015 and .NET 4.6? At the time of writing this blog post, it’s still in “Preview” release for the developers to try and report issues. .NET 4.6 comes with C# 6.0 with additional new features expected by developers to improve their coding productivity.

 

We are now going to describe the new features introduced in C# 6.0. Today in this blog post, we are going to see how to initialize/set default values to auto properties introduced in C# 6.0. Keep reading.

Published by on under .Net | C# 6.0

Questpond has launched a full step by step course on  ASP.NET MVC. This course from Shivprasad Koirala will help you to learn MVC (Model view controller) step by step in 2 days ( i.e in 16 hours) right from basics to a professional level.

 

This is a Sponsored post and in this post, the first video will show you how to display a simple Hello world in ASP.NET MVC. Also, check out the complete syllabus for details.

Published by on under .Net | GuestPost

A big day for the Visual Studio community. Today Microsoft released the preview version of next version of Visual Studio named “Visual Studio 2015”, along with “.NET 4.6 Preview”. It came up with lots of new features and tools for the developers including the open source community.

 

This release does not come with Go Live license, but if you want to try out it and want to check what’s new in Visual Studio 2015 Preview, follow this post.

Published by on under .Net | News

Sometime we need to export data as Excel report. This can be a plain Console application or a high end desktop and/or web application. You can of course do this using plugins/add-ons but what if you don’t have permission to use any 3rd party assemblies in your application?

 

Okay, in this post we are going to discuss this with help of a simple Silverlight & C# application but logic will be same in other platforms/technologies too. Keep reading.

Published by on under .Net | CodeProject

Microsoft released .NET Framework version 4.5.2 as redistributable package. It is a compatible, in-place update for Microsoft .NET Framework 4, .NET Framework 4.5 and .NET Framework 4.5.1. This version of the .NET Framework runs side-by-side with the .NET Framework 3.5 SP1 and earlier versions.

 

Want to download Microsoft .NET Framework 4.5.2? Here you can find both the web installer and offline installer of it and here sloty you can play without installation.

Published by on under .Net | News

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.

Published by on under .Net | Crypto Obfuscator