Stories recently tagged with 'thread'

Thread Pool using Core-Affine Threads(cygon.nuclex.org)

submitted by CygonCygon(134) 2 years, 8 months ago

Article with source code for a ThreadPool replacement which uses the XBox 360's hardware threads (which are only used when threads are assigned to them explicitly). Common problems with manually assigned processor affinity on desktop PCs are highlighted and the author shows a solution that allows the operating system to reschedule threads while still yielding comparable behavior to the explicit affinity model used by the XBox 360. read more...

add a comment |category: |Views: 105

tags: another

Creating Excel spreadsheets .XLS and .XLSX in C# - ASP.NET MVC Project(leniel.net)

submitted by lenielleniel(504) 2 years, 10 months ago

Recently I had to implement some code to create an Excel spreadsheet/report using C#. The task was: given an Excel spreadsheet template - a .XLS file (with formulas, pivot tables, macros, etc) I had to fill some data in one of the sheets of the spreadsheet and send this modified spreadsheet back to the user requesting such an operation (Excel report). I had a great time while studying the possible ways of doing what the task asks for. In this article I present an ASP.NET MVC project that shows you how to create an .XLS file using NPOI and an .XLSX file using ExcelPackage. read more...

add a comment |category: |Views: 1870

tags: another

Creating Excel spreadsheets .XLS and .XLSX in C# - ASP.NET MVC Project(leniel.net)

submitted by lenielleniel(504) 2 years, 10 months ago

Recently I had to implement some code to create an Excel spreadsheet/report using C#. The task was: given an Excel spreadsheet template - a .XLS file (with formulas, pivot tables, macros, etc) I had to fill some data in one of the sheets of the spreadsheet and send this modified spreadsheet back to the user requesting such an operation (Excel report). I had a great time while studying the possible ways of doing what the task asks for. In this article I present an ASP.NET MVC project that shows you how to create an .XLS file using NPOI and an .XLSX file using ExcelPackage. read more...

add a comment |category: |Views: 1870

tags: another

Creating Excel spreadsheets .XLS and .XLSX in C# - ASP.NET MVC Project(leniel.net)

submitted by lenielleniel(504) 2 years, 10 months ago

Recently I had to implement some code to create an Excel spreadsheet/report using C#. The task was: given an Excel spreadsheet template - a .XLS file (with formulas, pivot tables, macros, etc) I had to fill some data in one of the sheets of the spreadsheet and send this modified spreadsheet back to the user requesting such an operation (Excel report). I had a great time while studying the possible ways of doing what the task asks for. In this article I present an ASP.NET MVC project that shows you how to create an .XLS file using NPOI and an .XLSX file using ExcelPackage. read more...

add a comment |category: |Views: 1870

tags: another

Creating Excel spreadsheets .XLS and .XLSX in C# - ASP.NET MVC Project(leniel.net)

submitted by lenielleniel(504) 2 years, 10 months ago

Recently I had to implement some code to create an Excel spreadsheet/report using C#. The task was: given an Excel spreadsheet template - a .XLS file (with formulas, pivot tables, macros, etc) I had to fill some data in one of the sheets of the spreadsheet and send this modified spreadsheet back to the user requesting such an operation (Excel report). I had a great time while studying the possible ways of doing what the task asks for. In this article I present an ASP.NET MVC project that shows you how to create an .XLS file using NPOI and an .XLSX file using ExcelPackage. read more...

add a comment |category: |Views: 1870

tags: another

Using Async Delegates instead of the Thread class(jachman.wordpress.com)

submitted by JachmanJachman(530) 3 years, 1 month ago

If you want to write some asnychronous code, the good old fashioned way is to create a new Thread. But this has several pitfalls, e.g. when you need to use parameters or you need to retrieve a return value. Then this way is getting tricky. read more...

add a comment |category: |Views: 33

tags: another

Thread Safe Circular Queue Implementation in CSharp(lenielmacaferi.blogspot.com)

submitted by lenielleniel(504) 4 years ago

While completing a screen for a Software Development Engineer in Test (SDTE) position at Microsoft I had to implement a thread safe circular queue. The question asked: Implement a circular queue of integers of user-specified size using a simple array. Provide routines to initialize(), enqueue() and dequeue() the queue. Make it thread safe. read more...

add a comment |category: |Views: 654

tags: another

Impersonation across threads in ASP.NET(blog.madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 4 years, 11 months ago

Shows how to pass the impersonation along to the a new thread. read more...

add a comment |category: |Views: 19

tags: another