I have the need for sql based library that will allow me to create products, order items, orders, etc to support e-commerce on a .net mvc site. Does anybody have a suggestion as to where I can purchase a library like this or should I write it myself?
Thanks,
Chris
...
When a user clicks a button, I use the ThreadPool.QueueUserWorkItem to spawn a thread that kicks off a long running process. I would like to make a button visible when the thread is completed so that user can click on it.
Is there a completed event in ThreadPool
What am I trying to do?
One of the pages has a button when clicked conne...
Hi
I want to create a file with a .aspx extension(or any other extension) completely in memory. Can this be done?
Right now I have a memory stream that has all the stuff I want to write to this file but I don't actually want to create a physical file on the server since then I probably have to enable write permissions for my server. W...
I would like to traverse every element and attribute in an xml and grab the name an value without knowing the names of the elements in advance. I even have a book on linq to xml with C# and it only tells me how to query to get the value of elements when I already know the name of the element.
The code below only gives me the most high ...
Hi Guys,
I'm writing a small Login dialog, and have embedded a banner at the top of the dialog for aesthetic reasons. All went well, except that by default, WPF anti aliases the entire image, making the text that was contained within it frustrating blurry.
After a bit of Googlin', the first few pages of results showed that it's common ...
Whenever trigger a messagebox used in my C# program I get a very annoying beep from my computer. How do I disable this beep using C# code.
The code I am using is very simple.
MessageBox.show("text");
...
I want to create array 10 * 10 * 10 in C# like int[][][] (not int[,,])
I can write code:
int[][][] count = new int[10][][];
for (int i = 0; i < 10; i++) {
count[i] = new int[10][];
for (int j = 0; j < 10; j++)
count[i][j] = new int[10];
}
but I am looking for a more beautiful way for it. May be something like that:
i...
The XAML below does the following: when the mouse is over a textblock, its text will enlarge, when the mouse leaves the textblock its text shrinks. When the mouse is clicked the textsize freezes.
This works as expected when the style of the Textbox is directly set to the SwellingTexblock resource. However, when the style is set to the S...
I'm wanting to write a simple WinForms application that will be able to plot several locations on a map. Ideally, the application would embed a map that I can programmatically manipulate, and be able to add locations to the map using postal codes.
Is anyone aware of any free maps I can use within my application, ideally with either a .N...
I know that storing such a sensitive data is a bad idea. But if application will ask password every time when it's starts it'll be annoying... I know about OAuth but this is just the same thing - user will be interrupted with browser(or i'm wrong? - this moment is not clear for me). I know about symmetric cryptography. But how to store t...
We've built a set of .NET libraries (in C#) which are used to interact with an outside resource. The outside resource provide bindings in Java and .NET, so it was necessary to build our libraries in one of those languages and we're officially a Windows shop.
We also use PHP/Javascript for a lot of our front-end web applications. Is it p...
Hey,
I've been learning regular expressions for the last few days and I've been stumbled on this one. I would like to split a string by commas but with exceptions. Here's my string on what I want to validate:
rp { av 100, re 3, 52 }
which is basic comma delimited values inside of curly braces. Getting the values, I can do. But inside...
I am struggling with the learning curve on WPF data binding and could use an example. Bonus points for those that answer the question and link to an article that helped them "get" WPF data binding.
I am trying to bind a custom Table object with a WPF DataGrid.
Here is my objects (I do not have the ability to change them, signatures tr...
I am currently using FO.net for generating my PDF report coming out of a .net 3.5 application. I need to embed a GIF image into the PDF? I do not want to have a file reference, but actually have the content of the image as part of the PDF.
I have previously done this using SVG using the Ecrion FO Engine, however the free FO.Net (which ...
I am trying to get the following SQL output using Linq-to-NHibernate:
SELECT DISTINCT Name, at.Year FROM MyTable mt
INNER JOIN AnotherTable at ON at.Id = mt.AnotherTableId
The Name and Year properties are going to be wrapped up in a new class, so the C# code will look something like this:
Session.Linq()
.Select(x => new FooBar { N...
I am getting ready to start a project which will be using both Spring.net and NHibernate. I have seen a few good tutorials for NHibernate but have had a hard time finding resources for Spring.net. Specifically, I am looking for something that goes the setting up a solution and getting things running. Are there any good tutorials for a...
Are there any tools available to simplify the conversion?
What percentage of Java code is converted exactly to .NET code by these tools?
...
What are the options available to deploy a .NET desktop application built using WPF other than ClickOnce?
Top priorities are
should work over the wire (internet or intranet)
updates management; options to check for software updates and automatic updates.
patch management; download and update only those files which has changed.
...
Is there a way to store numbers in a db so that 7.1 is less than 7.10, ie keep the 2 points?
Currently the numbers are stored as floats - do I need to change to small money, decimal or something?
Any help hints appreciated.
Currently the .Net object uses a Double and sql server column is a float.
...
have been searching the web and have not found any recommended MVP books.
in particular we are interested in: MVP, .NET C# and Winform (possibly migrating to WPF)
thanks for the help!
...