.NET Core 3.0 is Now .NET 5
2016, Microsoft announced “ASP.NET 5 is dead”, because the next release after .NET 4.6x was changed name to ASP.NET Core 1.0 and .NET Core 1.0.
ComboBox Data Binding to an Enum in WPF
There is a little trick when a ComboBox binds to an Enum in WPF. Here we collect 3 ways.
Microsoft Connect(); 2017 sessions available at Channel 9
Microsoft Connect(); 2017 sessions available at Channel 9
.NET Open Source Developer Project List
There is a list of .NET Open Source Developer Projects on GitHub, just record it here.
Software Development Skills Review Part 1 WCF, ASP.NET Web API
Recently I was asked multiple questions about WCF, Web API, actually I posted multiple blog articles which were about WCF, Web API, The relationships between WCF, WCF Web API and ASP.NET Web API etc. in 2010 ~ 2013. Let me review them first, and then I will add new content and changes
Experienced Software Developer Still Faces to Code or Basic Acknowledge Test When Interview
As a IT guy, a Software Developer, a Microsoft technologies developer (from C++ to .NET ) with over 24 years development history, I still have to face to some awkward (embarrassed ? ) situations such as job interviews. I left school so many years, but some interviews still needed me to give correct answers for some basic computer and programming acknowledges, such as: What is C# ? What features does OO have ? or I was asked for writing code to give a good performance program to implement a scanning or searching case based on stack or queue ….
Microsoft Announces Xamarin Technologies are Free and Open Source
In today’s Microsoft Build 2016 event, Microsoft's Scott Gu just announced that Xamarin will be available in Visual Studio family WITHOUT extra cost, even in the free edition of Visual Studio Community and Visual Studio Code. Xamarin Studio for OS X will be free as a community edition.
What is .FFU File ?
If you recently research Windows 10 IoT with some hardware board such as Raspberry Pi, you should see the .FFU file, and you might realize you can not get enough information from Google search to know the .FFU file information.
Microsoft New Things at 2015 Developer Event (Connect 2015)
Microsoft’s annual developer event Connect();//2015 was on held in Nov 18 and 19 in New York.
Some Cool New Features of Visual Studio 2015
Microsoft released Visual Studio RTM version in July 20.
Install Mono on Ubuntu
My testing Ubuntu is Ubuntu 14.04 LTS edition.
When people said .NET on Linux, we know it was about Mono.
Try Visual Studio 2015 CTP in Windows 10 tech preview
Microsoft announced new update for ASP.NET 5 and released Visual Studio 2015 CTP 6 on Monday. So I think I should try the new features earlier since I get spare time today.
An error occurred while signing with SignTool Error
When I opened an old .NET project in Visual Studio 2013, I got the following error when I tried to rebuild the project:
C# Get Application Path
I tried to use the traditional way to get an Windows form application path:
Microsoft Announced .NET Open Source and Visual Studio Free
I missed a big event from Microsoft in passed 2 days since I was busy on our business project. I forgot the event date. so, I missed the big news from Microsoft. I just realized Microsoft took .NET open source, and released Visual Studio full feature edition.
Web Services on Devices – WSD
Compared with MODBUS protocol, if your device will be on Web, you might better consider use WSD protocol: Web Services on Devices.
Microsoft Official Dev Center Site
Here is the Dev Center site of Microsoft. You can find dev information about Desktop, Hardware, Web etc.
Visual Studio 2013 Installer Projects
I have mentioned in my previous blog Microsoft removed nice Setup Project after Visual Studio 2010, and forced developer to use the 3rd party tool: InstallShield Limited Edition.
Visual Studio 2013 Update 2 RTM
Now we do the Visual Studio 2013 Update 2 since it is RTM already.
Visual Studio 2013 Update 2 RTM Notification
I mentioned I was waiting for Visual Studio 2013 update 2 formal release 3 days ago, and found the formal version just released in next day. but I was busy to download it, today I saw Visual Studio 2013 Update 2 RTM notification in Visual Studio 2013, will find time to update soon.
Something about C# Programming
Here I collected some content which I noted for C# programming, the content might be from either recent learning courses, or from my real cases in some years ago, but please know the content might not for everybody who are reading this post, mostly, the content might be for myself, a personal notes.
A System Editor module in a Scada System using WPF part 2
This is the part 2 of the WPF applicatoin, the Part 1 is here:
A System Editor module in a Scada System using WPF Part1
Let's start to introduce the new System Editors module in a Coal Minding Scada system.
Setup Project in Visual Studio 2012 and 2013
After Visual Studio 2010, the Setup project type was removed from Visual Studio, so there is no more Setup project type in newer Visual Studio versions such as 2012 and 2013.
Start to Use Visual Studio Online
Microsoft provided Visual Studio Online long time, It is a kind of Cloud service, at least, due to its name: Visual Studio Online, we can guess we can use it without install a local Visual Studio version.
C# Standard Date and Time Format Strings
The following is Standard Date and Time to String Format Strings sample:
How to Uninstall NuGet Packages ?
You might installed some packages using NuGet Manager in Visual Studio. but did you try to uninstall packages if you do not want the package any more?
DI: Dependency Injection.
Visual Studio 2013 and .NET 4.5.1 Released
Microsoft just released the new development tool Visual Studio 2013 and .NET 4.5.1.
MSDN Inside .NET framework class library, Namespaces, Control Classes
IF you want to see how the .NET framework class library is, how .NET control constructor, control methods are, and how the organization of Namespaces, you can find help from Microsoft MSDN:
Install Visual Studio 2012
Microsoft has already released Visual Studio 2012, If you want to try, please download it for 90 days free trial.
An ASP.NET MVC3 Demo Application Introduction
About 36 hours ago, I just complained how painful as a Microsoft tech developer. Why I complained just because I have to maintain my Microsoft development skills on 4 different tech (they are really different): Windows Forms, WPF, ASP.NET Web Forms, ASP.NET MVC. I mean: I have to follow the new tech everyday, even every second!
Why As A Microsoft Tech Developer is So Painful!
When the years of Java Learn from C++, I did not have a good chance and a good reason to turn to Java, I think it was my BIG BIG Bad luck in my life. so, through so many years, I am keeping on the Microsoft technologies.
For Next Generation Apps - Visual Studio 2012 Released
Microsoft released Visual Studio 2012 and .NET Framework 4.5 in the last week (2012 August 15). That was really a big day for both of all .NET developers and Microsoft.
Still no solution for the conflict of Chinese input and Silverlight Windowless mode
The conflict of Silverlight’s windowless mode and Chinese inputting has already there for over some years, but seems there is still no a solution to resolve it by today. This is a big headache for most of .NET web programmers.
No More Visual Studio 2011, Visual Studio 2012 RC Released
We just realized Microsoft released Visual Studio 2012 RC in May 31, 2012, Attention: It is 2012, not 2011.
Event, Custom Event and Generic Event in .NET
We often need to implement events in our own class. About how to implement events, Microsoft provides tutorials such as this one.
CodePlex Changed Face
Maybe it is some late, but we just realized CodePlex.com changed face.
Remove Administrator Permission Required From .NET Project
When you create a .NET project, if you opened the Visual Studio as Administrator and created a project, The next time if you forget to open Visual Studio as Administrator, you will see the following pop windows to ask you restart Visual Studio under different credentials when you try to run your application:
WPF Chart Control in Visual Studio 2010
When you use Visual Studio 2010, you will find there is no a WPF chart control in toolbox. The WPF chart control does not followed with .NET 4.0 release, It is still in .NET 3.5 WPFtoolkit. You might have to download the WPF toolkit and install it. But please check before you download and install, because the toolkit might have already been installed with the Visual Studio 2010 installation or other stuff installations. You can try to start the following steps, if you can not find chart, you then download and install WPF toolkit.
Microsoft Mike Taulty's Blog And Silverlight
I found Mike Taulty’s blog today. I feel it is very helpful and there are great article to learn Microsoft stuff. From his blog, I think Mike Taulty is a Microsoft UK employee.
ConfigurationManager in Windows Form using Visual Studio 2010
When you create a new Windows Forms application in Visual Studio 2010, and if you want to do something related config file, normally you will use ConfigurationManager namespace, for example:
Develop App Based On MySQL Using C#
Most of .net developers develop Windows applications using SQL Server database, but how about some cases that use MySQL?
Update LINQ to SQL Classes After Data Table Structure Changed
How to update LINQ to SQL Class after you changed your data tables? It might be a headache problem if you always use LINQ to SQL.
Cannot open include file ‘fstream.h' in Visual Studio 2010
There is a C++ project which is migrated from old VC++ 6.0, We use Visual Studio 2010 now.
Do you know MSDN Magazine? You might not know but just know MSDN.
Start to Develop Bing Map Application (2)
We have finished the first step: Apply a Bing map key to develop Bing map application.
Start to Develop Bing Map Application
Even you are an experienced Bing map developer, you still might forget how to start to develop a Bing map application after some time if you no more touch the Bing map stuff. So here we record some initial tings for Bing map development.
Microsoft Chart Control Overflow Error After Several Times of Zoom In
If you use Microsoft Chart Control in your Windows Form Application and add the function of zoom in and zoom out, you have to care about the initial and Axis data settings, if you did not set correctly, you might get some errors, the following is the one of multiple errors:
Custom Microsoft Chart Control Zoom Reset Button
After you zoom in the Microsoft Chart control. you will see X scroll bar and Y scroll bar which you can scroll the view. Also, you can see two small icons beside the scroll arrow button on scroll bars, the one is on X scroll bar, another one is on Y scroll bar. They are zoom reset buttons.
Program has stopped working with APPCRASH
Our program got an error in some case, and the windows 7 pops up the following window:
Force Windows Forms Application to Run As Administrator on Windows 7
If you are using Windows 7 or Windows Vista, or Windows Server 2008, you should know the UAC (User Account Control), this is one of significant differences between Windows XP and the newer Windows System.
FileStream Cannot Access File Because Used by Another Process
We have a FileStream code using new FileStream:
Scrolling Stuck in Microsoft Chart Control
We have a windows form project which used Microsoft Chart Control. The Axis X is DateTime type, Axis Y are double values.
Custom Renderer for ToolStrip Control
“You can achieve completely custom appearance and behavior by setting either the ToolStrip.Renderer property or the ToolStripManager.Renderer property to a custom renderer.” – From Microsoft.
Resource file .resx compile error in 64-bit Windows 7
We have a project which can be built on Windows XP and Windows 7 32-bit, But when we moved it to a Windows 7 64-bit PC, We got the following compile error in Visual Studio 2010:
encountered a problem and needs to close
Font 'Tahoma' does not support style 'Regular'
When you run your Windows Application, you might get an error:
.Net 4 freeze when install on Windows 7 ?
If you install Visual Studio 2010, you might meet the trouble that it is freeze on installing .NET framework 4.0, no matter you want to install .NET 4.0 using standalone version later, you still can not install .NET 4.0 successfully.
What is Microsoft .NET Framework Client Profile ?
Since .NET 3.5 , you have seen the .NET Framework Client Profile.
About Memory Management in .NET
Today I give a topic which maybe most of us are interested in it, no matter you are a C++ or C# programmer, or even you are not a programmer, it is from the following questions which most of us always asked:
New line in textbox of Microsoft rdlc report
New line in textbox of Microsoft rdlc report
Pass parameter to a .rdlc report file
How to pass a parameter to a .rdlc file?
Hide a record in RDLC
Here we found a solution for hiding a record in .rdlc file:
About update dataset for a .RDLC file in Visual Studio 2010
In Visual Studio 2010, if you open a report template file .rdlc. sometimes you might realize you can not update dataset if your data source is changed.
Microsoft Reporter with Business Object
Microsoft Reporter does not only support database, but also a business object. You can create class as your data source of report RDLC file.
Visual Studio and Service Package release dates
Have you watched the release dates of Visual Studio ? Do you know when Visual Studio 2010 SP1 will be released ?
How to use Symbol Factory .NET
Symbol Factory .NET is a .NET software component which is produced by Software Toolbox Inc., and which used for adding animated objects from a library of over 3,600 industrial and manufacturing objects into your Visual Studio.NET software applications.
ComboBox in Windows Form using KeyValuePairs
The ComboBox in Windows Form is not like the same control in Web Form, it can not insert a Key and Value pair directly.
Microsoft Colors list for .NET
.NET programmers always need the Color values, numbers, names, and also maybe they want to see what the color show if see the color name.
Default coordinate system and customer coordinate system in WPF
For 2D graphics, the WPF coordinate system locates the origin in the upper-left corner of the rendering area. In the 2D space, the positive X-axis points to the right, and the positive Y-axis points to downward, as shown below:
ConfigurationManager can not be found in .NET 2.0 ?
When we added something such as database Connection String in App.config file in .Net 2.0, we need to use the following 2 ways to get Connection String:
Display image using PictureBox and ImageList in C# ( Windows Form )
The regular way to display image in a Windows Form is using PictureBox.
How to align controls in TableLayoutPanel ?
There is no direct alignment property for TableLayoutPanel. So lots of programmer have similar question: How to align the controls in TableLayoutPanel ?
Check if Bit is set, Set Bit to 1 or 0
1: Check if Bit is set
Could not find any resources appropriate for the specified culture or the neutral culture
In Visual Studio 2010, I moved some resources files to another folder, Built OK and ran OK, but some day later I got an error, a control can not get related resource, the error message is:
3 methods in C# to get List.FindAll
How do you have the code to Find something from a List?
Get Application Path in Web App and Window App (.NET)
How to use Silverlight DeepZoom with Dynamic Image souce
Normally Silverlight deep zoom needs Deep Zoom Composer to generate the Image sources for MultiScaleImage control, which means you have to prepare the images by manual before your Web application runs. That is not what most of programmers and customers wanted.
WPF or Windows Forms ?
_Windows Presentation Foundation (WPF) is a next-generation presentation system for building Windows client applications with visually stunning user experiences. WPF supports UI, media, documents, hardware acceleration, vector graphics, scalability to different form factors, integration with Windows, interactive data visualization, and superior content readability. Read all about recent updated and additions to WPF here.
System.AccessViolationException Attempted to read or write protected memory ?
A common error always pop up when you run your .NET Application just like the following :
Great svn client software for Visual Studio
Let me recommend a plugin for Visual Studio, its name is AnkhSVN.
How to change all tab pages's title for a TabControl using C# ?
In some cases such as Multiple languages dynamically switching and if you have a main TabControl with some sub tab pages will be dynamically added into it, you might find it is not easy if you want to change all these dynamic tab pages.
Open Visual Studio 2008 project file in Visual Studio 2005 ?
We know the Microsoft Visual Studio IDE Higher version can open the project which created in lower version by convert wizard steps. For example, whey you try to open a VS 2005 project in VS 2008, you will see a convert wizard windows firstly, it helps you convert old project to new project which can be opened in VS 2008.
How to add a Uninstall option in Visual Studio Setup project without writing code
Using Visual Studio 2005/2008, you don’t need to write any code to add a uninstall option for a Setup project (Yes I know some people can write code to do it)
List enum item names using C#
Assume you have define an enum like:
Should I add the Visual Studio .suo and .user files to source control ?
.suo and .user file are two types of hidden user files in Visual Studio project.
What is .suo file in Visual Studio project ?
Copied explanation from Microsoft official site: ** Solution Files (.sln and .suo)**