Click here to Skip to main content
15,888,521 members
Everything / .NET / .NET4.5

.NET4.5

.NET4.5

Great Reads

by David Rogers Dev
Learn how to load related entities using the Entity Framework with simple examples
by The Ænema
This article will teach you how to create an amazing, clean and smooth WPF/Winform UI for your native application without using any complex, unsafe, ActiveXish methods, etc.
by tetsushmz
This article explains how to dynamically create RDLC.
by Daniel Vaughan
Create best-in-breed cross-platform MVVM apps using Calcium for Xamarin.Forms.

Latest Articles

by Sufyan S Jabr
All that you need to know when working with MSDTC, troubleshooting and problem solving.
by Alexey A. Popov 2
A simple implementation of Miller columns (cascading columns) control
by chris_mackay
A reference for writing your own dialog message box in Windows
by #realJSOP
A rewrite of a previous article with more liquid nitrogen and bacon

All Articles

Sort by Updated

.NET4.5 

4 Nov 2012 by #realJSOP
My Anagrams game ported to WPF.
27 Feb 2018 by #realJSOP
Create and run jobs kinda like SQL Server Enterprise - Users Guide
30 Sep 2017 by #realJSOP
Create and run jobs kinda like SQL Server Enterprise - Architecture and design decisions
30 Sep 2017 by #realJSOP
Create and run jobs kinda like SQL Server Enterprise - The CSV and Excel Importer Code
30 Sep 2017 by #realJSOP
Create and run jobs kinda like SQL Server Enterprise - Job Scheduling Code
30 Sep 2017 by #realJSOP
Create and run jobs kinda like SQL Server Enterprise - How Packages Are Run
30 Sep 2017 by #realJSOP
Create and run jobs kinda like SQL Server Enterprise - Interesting Coding
10 Apr 2020 by #realJSOP
A rewrite of a previous article with more liquid nitrogen and bacon
19 Jun 2013 by -james
Being Dynamic in a Staticly Typed World
10 Dec 2014 by /\jmot
Try use..using(DataClasses1DataContext db=new DataClasses1DataContext()){ SuperGrid1.DatSource = db.StudentInfoTestings.Select(i => new { i.StudFirstName, i.StudLastName, i.StudContact, i.StudEmail, i.StudPass }).ToList();SuperGrid1.DataBind();}
27 Dec 2015 by 0xC0000054
A C# library to host Photoshop-compatible filters in .NET 2.0 and later
24 Apr 2014 by 2g33k
You want Support Pack 9 - (v. 13.0.9.1312) from the SAP site.
5 Mar 2015 by 65Goat
This contest submission is for a home monitoring solution that reads temperature, humidity and states from various sensors around a home. The data is stored in Azure and can be accessed via mobile devices.
30 Oct 2014 by @shok kumar mishra
Why we use These lines in our project? Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Cache.SetExpires(DateTime.Now.AddDays(-1)); Response.Cache.SetNoStore();
21 Aug 2013 by _Asif_
My recommendation for beginners is Programming Microsoft Windows with C# by Charles Petzold[^]
20 Jun 2014 by _Asif_
You can also use Self Signed Certificate to do the same. Do Google for How to generate Self Signed Certificate. Its not a difficult task by the way.
24 Jul 2015 by _Asif_
Check this linke Dynamic in F#: Reading data from SQL database[^]
6 Aug 2012 by _DanV_
How to dynamically add controls on a hierarchical structure on MVC.
27 Sep 2016 by _eol_
The goal of this article is to create flat image buttons with bindable properties.
8 May 2013 by _Maxxx_
Interesting question.I'm not a big IOC user so what I offer may not be applicable.in my mvvm 'framework' my design time data (essentially view models) inherit from the run time view models.I initially put them in the view project with the views - but I just had a quick try and moved...
4 Oct 2013 by _Noctis_
Showing how to use and tweak the DateTimePicker control
15 Jun 2014 by _Noctis_
This will set you logging from your NLog to your Growl in no time.
7 Jun 2014 by A. Najafzadeh
Saving zip files in access database with encrypting bytes when file saved in access database and decrypting bytes when extracting files from database . . .
2 Jun 2014 by a_pess
Check image is upside down in VisualBasic.NET
17 Apr 2013 by Aadi164
my name is aadil i am student of engineering 3rd year and my summer training is going on .. i am making presentation on web parts in asp. net , but the problem tht i am facing is tht not understanding tht how do i write about it ,, i knw why it is used and where it is used but the problem is...
28 Aug 2014 by Aaron L. Hall
Here is a tip for making sure that debugging your MVC website does not cause Visual Studio to crash when using IIS7 to host the site in your development environment: Don't use more than one worker. process in your Application pool.
21 Apr 2013 by Aarti Meswania
visual studio gives advantage to develop application with option of many languages.so, it's good because a developer who have good command on a particular language he/she can develop application with that language so, it's a feature not a drawbackHappy Coding!:)
10 Sep 2015 by Abdisamad Khalif
There is an entire article in codeproject about what you searching now, sow find it or post enough code such that developers will help you.Hope that helps
7 Aug 2014 by Abdul Hafeez Munawar
It should work fine, it will return you a Reader, then you can iterate through that reader for your data.Or you can fill a Dataset with the results provided by the stored procedure.
5 Aug 2014 by Abdul Imran
What is Dot stands for in .NET?
3 Mar 2014 by abdulrehman7621
plz help me in thismy data can't insertedit displaying error "syntax error in INSERT into Statement"try { OleDbConnection con; OleDbCommand com;string path = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\user\Documents\Visual...
22 Jul 2016 by Abhay@Accenture
Performance tuning using SqlBulkCopy
19 Dec 2016 by Abhay@Accenture
Get an extension attribute from AD using Principal Extensions in System.DirectoryServices.AccountManagement
29 Sep 2013 by abhijeetyadav
I have a program(x64) that consumes a large amount of memory. I am running it on win server 2008 R2 SP1 with 48 GB RAM(64 bit) .net frame work 4.5I have also set gcAllowVeryLargeObjects = true in app.config.When i run the program it consumes 18 GB memory after that it gives...
26 Dec 2016 by Abhilash.J.A
Hello,I have a list of image from database with imagename and imagepath.How can I print each image through showing Print Dialog ?Please help me...What I have tried:if (objTble_Documents.Count() != 0) { PrintDocument pd = new PrintDocument(); ...
22 Dec 2012 by Abhinav S
You can try the Data Access Block in the Enterprise Library[^].This can allow you to build database independent code.There is however, a need to add database support as demonstrated at Intergrating MySql with Enterprise Library for .NET Framework 2.0[^].You can always of course, check...
25 May 2013 by Abhinav S
TryCustom GridView with Paging and Filtering[^]Gridview Header Filter[^]http://www.c-sharpcorner.com/uploadfile/abhikumarvatsa/quick-way-to-filter-data-in-gridview-in-Asp-Net-sql-server-db/[^]http://www.nullskull.com/a/799/aspnet-gridview-filtering-with-dropdownlist.aspx[^]
27 May 2013 by Abhinav S
If you are looking at framework level information, try CLR via CSharp[^].
7 Jun 2013 by Abhinav S
There is no best approach. Do you have a list of requirements?You can possibly provide a textbox where the user can type the name of the column.A dropdown for the type i.e. varchar etc.Then on click of a button, you can create table based on whatever the user has selected.
10 Nov 2013 by Abhinav S
You cannot change data from database by just changing the drop down value.You need to do this translation yourself - build a resource file that does the mapping of data to appropriate text in the other language.
12 Nov 2013 by Abhinav S
Nope. I guess not. At least not in any ethical way.
6 Jun 2014 by Abhinav S
I would check if you could build the exe as a library and then use it where you need it.
21 Jan 2015 by Abhinav S
If you are building a small application then it can be used.It ties in well with ASP.Net Identity Framework as well.Larger applications, maintenance makes it difficult.
21 Jan 2015 by Abhinav S
Tryhttp://www.aspsnippets.com/Articles/Export-ASPNet-Web-Page-with-images-to-PDF-using-ITextsharp.aspx[^]http://www.essentialobjects.com/Products/EOPdf/ASPXToPDF.aspx[^]http://www.c-sharpcorner.com/UploadFile/9f0ae2/convert-aspx-page-into-pdf-in-Asp-Net/[^]
27 Jan 2015 by Abhinav S
Check with those who provided the inter-op services.
3 May 2015 by Abhinav S
You should go through all these links -Preparing to Upgrade to IIS 7[^]Installing IIS7.5 on Windows 2008 R2 Server with IIS 6 compatibility manually[^]How to Migrate from IIS 6 to IIS 7[^]
1 Jul 2015 by Abhinav S
It is not necessary that you use entity framework.You can create a data layer on the server.This layer will be responsible for communicating with the database.Try ASP.NET MVC Web App on 3-Tier for Beginners – Part 1[^].
18 Mar 2013 by Abhinav Sultania
How to find IP address of machine in metro App(Windows 8)
24 May 2015 by Abhipal Singh
A similar question is answered here.:http://stackoverflow.com/questions/2265361/asp-net-ajax-not-running-with-iis-7[^]http://weblogs.asp.net/mschwarz/appcmd-migrate-and-http-error-500-22-things-you-can-try[^]
18 Dec 2012 by Abhishek Pant
XAML tutorial[^]XAML[^]XAML Interview Questions[^]Metro UI Guidelines for Windows Phone 7[^]
24 Jan 2013 by Abhishek Pant
Registering the Application Handling the Custom Protocol[^]and to detect custom controls and register it using browser-Browser: Detect Custom Protocols[^]
16 Jun 2015 by Abhishek Pant
Stream those file/attachment in the temporary folder and use itextsharpSplitting and Merging PDF Files in C# Using iTextSharp[^]http://www.dotnetbull.com/2013/12/merging-multiple-pdfs-using-itextsharp.html[^]C# - Generate and Deliver PDF Files On-Demand from a Template Using...
18 Dec 2012 by Abion47
Using asynchronous progress bars on your form from start to finish
12 Dec 2015 by aboubkr90
A way around "The LINQ expression node type 'Invoke' is not supported in LINQ to Entities"
22 Mar 2015 by Aby Mammen Mathew
IoT devices needs the capability to augment the environment around them, even when sensors utilized by them break down
23 Nov 2013 by Adam Zgagacz
From behavior you described it looks like shapelib.dll is compiled for x64. If that's the case you will not be able to run it on 32 bit machine.
28 Sep 2012 by AdamNThompson
A data access component for SQL Server in VB.NET.
21 Nov 2012 by AdamNThompson
A reusable component for makeing REST service requests using C#
6 Mar 2014 by Adel Refaat
A SharePoint WebPart that hosts Razor files (.cshtml, .vbhtml)
3 Dec 2016 by Adi_Mag
Integrate Serilog with ASP.NET Core application
15 Dec 2014 by Adil Usmani
Greeting s to all my friends i want to ask that i want to create a splash screen like visual studio 2012/2013 with animation how to achieve this.Thanks in advance
14 Nov 2012 by AditSheth
here is same question asked on codeproject Android Apps using .net with c#[^]
20 Apr 2015 by aditya behara
Hi All,I have developed a service in WCF with x509 certifcate security and deployed on UAT. My .net client is able to consume the service and also getting response from the service.However when I consume the same service in Java, then I get the below error:Security processor was unable...
15 Feb 2019 by aditya pewekar
Create custom HTML helper to manage Page Mode like View (Readonly) and Edit/Add (Editable)
20 Jan 2015 by Aditya Prakash Roy
Hii to all,i am working on project who having more than 300 tables in database,with using MVC 5 for UI and unity framework used.i also want to use entity framework,but i heard that EF having drawback regarding the loading or i will consume more time while Communicating with database...
28 Jun 2015 by adityasahver
In this article we will learn how to use Microsoft Band to connect to your Device.
28 Feb 2016 by adityasahver
In this article, we will learn how to create an Tile/Page in the MS Band and trigger the details on the associated device
7 Nov 2014 by Adriaan Booysen
An example of a nearly complete unknown type being used accross EF, WCF and consumed client side
23 Aug 2013 by Adrian Akison
App Innovation Game for Lenovo Horizon All-In-One
8 Feb 2013 by Adrian Alexander
Data-binding among complex expressions in C#
8 Oct 2013 by Adrishya
Check this article and follow the steps you will surely find out your required solution.http://msdn.microsoft.com/en-us/library/hh925568.aspx[^]
16 Aug 2014 by Afzaal Ahmad Zeeshan
How to use the .NET's WebBrowser control in your application to create a custom Web Browser for Windows OS
19 Aug 2014 by Afzaal Ahmad Zeeshan
You are having multiple assembly files in your project that the program can reference. Since you can use only one of them, you either need to copy/paste content of one to the other and delete the first one, or remove one of them.
28 May 2015 by Afzaal Ahmad Zeeshan
First of all you should understand the main type of application that you are willing to develop. You're having a web application, (develop using ASP.NET) and now what you are going to develop is a service (not to be confused with Web Services) under the same web application that you have already...
9 Jan 2016 by Afzaal Ahmad Zeeshan
The problem would be somewhere with the URL itself. You have made sure that the page does exist, but not at the location specified. The location that you are trying to access is, "/Admin/~Admin/AddNewProducts.aspx". So in that location, are you sure, second "~Admin/" is required? What I...
19 Dec 2021 by Afzaal Ahmad Zeeshan
Emails are a very notorious topic in software development, especially because they have different factors affecting the execution of your code—hostname, port, enable SSL, etc. Since you've not shared the code, my guess is either you're not...
25 May 2015 by Afzaal_Lucky
For Visual Studio 2013http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_13.exe[^]
18 Aug 2016 by agent_kruger
i know that the password of Windows is stored in dll with hash encoding but i need to know that is it possible to decode it. Any piece of code in c# will be appriciated:)
18 Nov 2013 by agent_kruger
I Want to know how to customize options of messagebox suxh as (Yes,No,Cancel) or (OK,Cancel).My app is an windows c#. Thanks In advance.
23 Nov 2013 by agent_kruger
its simple, just get the 2 values you want to check then try thisDatarow[] Dr = Datatable1.Select(" Name='Value 1' or Name='Value2'");//replace "Value 1" & "Vaue 2" with your valueif(Dr.Length > 0){ //Means Record Exists}else{ //Else Not}
24 Nov 2013 by agent_kruger
use a timer and set it's interval 1000 (1 sec) and on timer click writeprogressbar.Value = progressbar.Value + 1; before this dont forget to writeprogressbar.MaxValue=30;progressbar.Value=0;
9 Mar 2014 by agent_kruger
I think "Mr.Kornfeld Eliyahu Peter" is right. I am using MSSQL for 3 years now and found it better than any existing database. Still a link for "SQLLite V/S MSAccess".http://db-engines.com/en/system/Microsoft+Access%3BSQLite[^]
16 May 2014 by Ahmad F Hassan
An easy way to view hierarchical data in a simple ASP .NET Repeater
5 Jun 2014 by Ahmad F Hassan
Step by step, creating LINQ to SharePoint Data Access Layer using SPMetal
17 Aug 2012 by ahmadamiri
time is ShowBalloonTip` notifyIcon plz explain more...
15 Feb 2016 by Ahmed Amer Jaf
Fast n Easy Way to parse Json data
15 Jun 2014 by Ahmed Bakodah
This post is about how to demonstrate CheckBoxList in ASP.NET MVC 4
7 Jun 2013 by Ahmed Bensaid
Use a flag variable. Initialize it to false. When the email is sent, change its value to true.Then, test the value of this flag at the same time of !empty($_REQUEST["email"])
6 Dec 2016 by ahmed_sa
I see this code and i need to see the result of this if possibleif (a0)messagebox("bad values");elsemessagebox("good values");what is result if user enter number 7 and number 15 .What I have tried:what is the result of this code by c#
26 Jul 2022 by ahmed_sa
ProblemHow put image logo inside of generated bar code ?DetailsI make windows application to generate c# qr codeI success to do thatI work in visual studio 2015 windows form applicationsi using messagetoolkitqrcodeMy code generated qr code by c# as following...
22 Dec 2016 by ahmed_sa
Hi i work in visual studio 2015 c# console applications . I try to make bubble sort to array unsorted but i cannot do thati search for internet about that i understand idea . it is make comparison between small and largest then swap items to make in order array but i cannot...
25 Dec 2016 by ahmed_sa
ProblemHow to encoded personal image and generate qr code for personal image with data related ?DetailsI work in visual studio 2015 using c# windows form application .I need to encode personal image to qr code . Meaning when i select personal imagethen click to generate it...
26 Dec 2016 by ahmed_sa
I worked in c# windows form visual studio 2015 and i need to print qr code using c#windows form I already generated it but cannot print .Can any one tell me how to print qr code generated as following :if (textBox1.Text =="") { ...
12 May 2021 by ahmed_sa
I need to convert image to binary and get result in text box . i using the following function : Image found in path D:/person.jpg public static byte[] ImageToBinary(string _path) { FileStream fS = new FileStream(_path, FileMode.Open, FileAccess.Read); byte[] b = new...
1 Jan 2017 by ahmed_sa
I have personal image is 24 * 24 pixel i need to generate qr code for my personal image .I work in windows form c# 2015 windows form .I need to generate qr code for image .So that how to encode image to qr code and in same time not using internet to get image from publicity...
13 Jan 2017 by ahmed_sa
I need to build web site by .net web technology asp.net mvc USING C#But i confuse What is best for build Web site Implementation by MVCUsing Entity framework(build database and create modules automatic by EF)ORImplementing web site by using Code First ?What I have...
18 Jan 2017 by ahmed_sa
I work in visual studio 2015 windows form .I have textbox for name and combobox for country and button and report viewer controlI need when click button get value from text box name and combox country and show these values in report viewer ?How to do that by c# ?suppose i...
22 Jan 2017 by ahmed_sa
I try to create excel file using c# windows form visual studio 2015i need to create excel file with excel 2007 with extension xlsxafter i click the button and got to path i need to create i found file in pathBut cannot open itmy code as bellow:public void CreateSheetIfNotExists() ...