Hi all, can i have your opinion ?
I want to develop .net winform application and i want to use fully unbound grid.
Anybody ever use 10Tec iGrid.net and Xceed grid for .net ?
which one is better ?
Thank you.
Looking at this question the OWASP WebGoat project looks like a great way to learn about web security. Although the principles will equally to .NET applications I would prefer to use .NET based application. Does anybody know of a suitable .NET alternative?
I want to print report as pdf format by using crystal report in asp.net mvc but i don't know flow how to create report and print report in asp.net mvc ,
any one could help me for tutorial using crystal report in asp.net mvc ?
what are your recommendations to use as a source control, project repository for a windows - .NET development environment (2 coders, possible one using the system)
thanks
addition: also the team includes 3 developers. 1 vb6 moving to .net, myself in .net, and one web developer (php, javascript, etc.)
the system i am looking for would be something that easily integrates into the ide of visual studio
I have come across a couple of sites in the past where a professional programmer would charge you 50 cents per minute or so to chat with them, one on one, and they would answer any questions you have about your choice of programming language. I've been studying ASP.NET 3.5 for a couple of months now and haven't been able to find a service like this for ASP.NET. Any help? A free live chat room for .NET would be of big help too.
I am currently trying to upgrade a project of mine from .NET 3.5 to .NET 4.0
Everything was going really well, all code compiled, all tests passed.
Then I hit a problem deploying to my stagomg environment.
Suddenly my logins were no longer working.
It seems my SHA1 hashed passwords are being hashed differently in .NET 4.
I am using the SHA1CryptoServiceProvider:
SHA1CryptoServiceProvidercryptoTransformSHA1 = new SHA1CryptoServiceProvider();
To test I created a new Visual Studio project with 2 console applications.
The first targeted at .NET Framework 3.5 and the second at 4.0.
I ran exactly the same hashing code in both and different results were produced.
Why is this happening and how can I fix this?
I obviously cannot go update all of my users passwords considering I do not know what they are.
Any help would be greatly appreciated.
Hey people,
I have installed VS 2010 Professional, and despite my tremendous urge to work on it since it is pleasing to the eye, it seems not to support .NET framework 3.5/3.0.
Therefore, I have switched to VS 2008 rather relunctantly.
Does anyone know, to add .NET framework 3.0/3.5 to the top right Combo Box within the make new project ?
(Note : In the top right Combo Box within the make new project, I have only .NET framework 4.0 available)
Many Thanks..............................
Im using asp.net website with WCF service, having wsHttpBinding,Aspnet compatibility enabled, specified as Sessionmode -allowed, service behavior- isinitiated and client session cookie enabled. Its looking like Asp.Net session object and WCF Session( HTTPContext.Current.Session) work independently. How can I share Asp.net Session value to WCF Session and vise versa.
I am currently picking up Grails and Roo to expand my skills and to have a bit of fun.
The vast majority of training materials appear aimed at new developers or Java developers.
Does anyone know of any guides, resources or have any tips and anecdotes for translating existing development experience with .Net (C#/ASP.Net/Asp.Net MVC)?
I'm looking for a free templating engine to generate simple reports. I want some basic features such as :
Ability to Write Loops (with any IEnumerable)
Passing Variables
Passing Templates Files (main template, footer, header)
I'll use this to generate reports in HTML and XML. I'm not looking for a ASP.NET Template Engine.
This is for a WinForms applications.
I've seen this question http://stackoverflow.com/questions/340095/can-you-recommend-a-net-template-engine, however all of those template engines are total overkill for me and focused for ASP.NET.
Please only recommend free libraries.
// I'm still looking an NVelocity but it doesn't look any promising for .NET, overly complicated, when you download it's bunch of files not clear what to do, no tutorial, startup document etc.
I'm implementing a custom session storage provider in ASP.Net. We have a strict 3-layer architecture and therefore the session storage needs to go through the business layer. Presentation-Business-Database. The business layer is accessed through WPF. The database is MSSQL.
What I need is (in order of preference):
A commercial/free/open source product that solves this.
The source code of a SqlSessionStateStore (custom session store) (not the ODBC-sample on MSDN) that I can modify to use a middle layer.
I've tried looking at .Net source through Reflector, but the code is not usable.
Note: I understand how to do this. I am looking for working samples, preferably that has been proven to work fine under heavy load. The ODBC sample on MSDN doesn't use the (new?) stored procs that the build in SqlSessionStateStore uses - I'd like to use these if possible (decreases traffic).
Edit1: To answer Simons question on more info:
ASP.Net Session()-object can be stored in either InProc, ASP.Net State Service or SQL-server. In a secure 3-layer model the presentation layer (web server) does not have direct/physical access to the database layer (SQL-server). And even without the physical limitations, from an architectural standpoint you may not want this. InProc and ASP.Net State Service does not support load balancing and doesn't have fault tolerance. Therefore the only option is to access SQL through webservice middle layer (business layer).
In c#/VB.NET/.NET which loop runs faster for or foreach?
Ever since I read that for loop works faster than foreach a long time ago I assumed it stood true for all collections, generic collection all arrays etc.
I scoured google and found few articles but most of them are inconclusive (read comments on the articles) and open ended.
What would be ideal is to have each scenarios listed and the best solution for the same
e.g: (just example of how it should be)
for iterating an array of 1000+
strings - for is better than foreach
for iterating over IList (non generic) strings - foreach is better
than for
Few references found on the web for the same:
Original grand old article by Emmanuel Schanzer
CodeProject FOREACH Vs. FOR
Blog - To foreach or not to foreach that is the question
asp.net forum - NET 1.1 C# for vs foreach
[Edit]
Apart from the readability aspect of it I am really interested in facts and figures, there are applications where the last mile of performance optimization squeezed do matter.
What steps are needed to target previous versions of the .NET framework in Visual Studio 2010? I installed VS and the .NET 2.0 SDK (from here), but only .NET 4.0 is in the list of available frameworks.
Any ideas what I'm missing?
I have a WiX installer that I would like to check for .Net 3.5, and install it if it does not exist. I have the following lines in my wixproj file:
<BootstrapperFile Include="Microsoft.Net.Framework.3.5">
<ProductName>.NET Framework 3.5</ProductName>
</BootstrapperFile>
<BootstrapperFile Include="Microsoft.Windows.Installer.3.1">
<ProductName>WIndows Installer 3.1</ProductName>
</BootstrapperFile>
When I create the installer, a DotNetFX35 folder is created, and in it are 4 different versions of .Net (including 3.5), and an installer file.
I have two questions:
How do I have it only bring in version 3.5 (so that the user doesn't have to install 100+ MB of files)?
How do I tell WiX to package these files up into the MSI file, so that the user only has to download 1 file?
I am relatively new to website design and specifically working in ASP.NET, i am using CSS to style my site, but when i use ASP.NET Controls like GridView, Navigation controls, etc ...
they are messed up by the style sheets, and you can't see that until you run the website, because the controls are translated to HTML and so affected by CSS in a way that you can't predict, how to solve this, and is there a better way to layout and desgin sites in ASP.NET.
I'm looking for advice on what .NET user interface components are out there on the market. I have been developing asp.net websites and have mainly been using the Visual studio toolbox build in controls supported by the AjaxcontrolToolkit and the applications have been mainly used inhouse running on our company intranet.
But now a new client wants a much more professional looking, commercial web application and they have a budget for some user components for use in the application. Any recommendations where value for money will be realised.
Interested in components that will integrate well with ASP.NET 3.5 SP1 or even .NET 4.
I am currently investigating whether to build a windows application using unmanaged C/C++ or in .NET and would like to know of the kind of performance and responsiveness that is capable with a managed C#/.NET GUI app?
Not surprisingly it looks like the fastest most responsive applications (e.g. chrome, spotify, etc) are written in unmanaged C/C++. I've had a hard time finding examples of really good .NET applications and so I would like some help.
What's the best example of a fast and responsive .NET windows application?
So I have an app (tool) that uses .NET 3.0. When run on a machine that only has .NET 2.0 (like the default Server 2008 R2 install) it crashes miserably.
What I've seen so far is that people are using a shunt that will first check the .NET version.
Is there a way to build it or add some manifest somehow so that the user is warned of this problem (and hopefully be prompted to install .NET)?
I know this can be solved by an installer, but I have requirements that need it to be a standalone executable.