C# - Web Dev-frameworks, Compatible With .net 3.5 +?
Jan 30, 2010
For someone, new to .Net based Web development: what web development frameworks are provided with or are compatible with .Net framework 3.5 +.LikeASP.NET Web Forms patternASP.NET MVC framework / pattern (1.0, 2.0)an you provide links as well
I use visual studio 2005 and now my team wants me to try my hand at some testing frameworks for asp.net websites.I'm completely new to testing. I want to know what kind of automated testing can I do.Can I test my business logic,Can I test my UI.I just started using NUnit and I am getting a hang of it. For Web UI testing I've tried Nunit asp.Somewhere I found about Selenium, which of this is better.Also is there an add-in to test Javascript code with NUnit.Is there an better alternative to NUnit.
As per the increasing security threats, my site needs extreme care in terms of security in all aspects. I know asp.net has built in some security measures (Anti-forgery token, cross-site scripting, authentication, roles), but that is just not enough.I need a tool to test all possible security threats (Brute-force attacks, .... IP location, browser info ... )and a framework (open source is better) that handles all these concerns and let you build upon.
EDIT,So to narrow a bit, my primary concern is protecting the "login" page from all possible threats.
I am looking to make the jump from PHP and Flash/Flex to .net and Silverlight (maybe not a full jump, but I want to be ready when Silverlight takes the lead from Flash)I'm looking for the common/trusted mvc framework most people use/support and is potentially backed by microsoft
In PHP we have Zend Framework http://framework.zend.com/ this is backed by key contributors to the PHP languageIn Flex we have the Cairngorm framework http://opensource.adobe.com/wiki/display/cairngorm/Cairngorm (developed by Adobe consulting) backed by Adobe the creators of Flex
There of course are other frameworks for both PHP and Flex, but a much smaller population base even if they offer some nicer things individually, they lack frequent updates or community support.So my question is, what is the "accepted standard" framework that people use with .net and/or silverlight?
From my understanding, the asp.net 1.1 application will login the user then store the information to a session and a cookie? I'm trying to access that cookie with a asp.net 2.0 application. Is this possible?
I'm thinking the mode would need to change to maybe StateServer or Sql.
I am sure that I am somewhat lost in this area... my understanding is that Dependency Injection means initializing something that is required by a class..so for instance. If my controller is going to need a service and I want to be able to test it then I should define two Constructor methods for it... so, my question is.
public class CompaniesController : Controller { private ICompaniesService _service; public CompaniesController() {.......
I would like to have framework for tracking web site/page usage within company firewalls on asp.net platform. Want to track hits and integrate with particular feature within an application to understand end user usage (i.e. log particular actions of users in addition to simple page count type analytics). I have yet to find a framework to do this with asp.net/iis7 internal to a company (i.e. not google analytics).
1. .NET best practices, 2.best frameworks, and 3. benefits of the latest version?I need urgent help to convince the customer to use .NET, but they want me to list these 3 things. Can you help me list and/or point me to good summarized articles for these?
i have been trying the new VS2010, but i am having trouble to add to the dropdown list of frameworks the .net framework 2.0, i have installed the .net framework 2.0 and also the SDK, but nothing seems to make it to appear in the VS2010 multitargeting dropdown list. Can somebody give me the reason of this, what do i need to do?
How are C# and ASP.NET related? Is it true that I don't have full control over the output, unlike in PHP and Python?How easy is it to create code that is compatible with .NET 2.0, 3.5 and 4.0?
Added questions:I've heard ASP.NET pages are compiled. Is that why it makes no difference whether I use C# or VB.NET? I only need something that can compile targetting the .NET platform? Can I intermingle VB.NET and C# in my pages?
what document type & HTML should be used in .Net page to make it W3C compatible so that it can pass the W3C validator check ???Can single CMS (.Net) can be used for multiple domain names ???How can we do without sub domain ???
when the developer designs the UI/web page then some times it will not display same in All Browsers so the developre what precautions or patterns or follows certain document to avoid these problems.as a developer i am asking this question because my page is not displayin properly in IE6 and in Navigator so what steps i have to take for the UI webpage so that it should be seems good and perfect output for all the Browserssome times css will not work in all browsers and sometimes controls position,sometimes javascripts .so i need a docuement so that which i can follow to avoid this problem
I have a updatePanel inside a createUserWizard. Such arrangement is to let guest to test if their selected username is available to use. However, when user clicked the button to check its username availability, everything works fine; the inputed name will be examined and the availability will be returned from such partial postback. What strange is, when I clicked the "Create User" button, the page was posted back to server but "CrWizard_CreatedUser" doesn't fire. Then the page was sent back to my browser and i have to re-enter the password and press the "Create User" button and this time Crwizard_CreatedUser is fired.
I re-test this situation again by not pressing the "Check Availability" button and hit the "Create User" button directly after filling out the form and this time, Crwizard_CreatedUser is fired. I doubt if something has changed secretly after I hit the "Create User" button. Hope someone can tell me what goes wrong.
In web application I'm using devexpress toolkit, and have the right (correct) result in IE only (using also some java-script), on clicking event for example is working in chrome and safari, but in Firefox and Opera not The grid view are not showed properly in division in any other browser, except IE!
We are developing an Asp.net web application for client .
In this project client wants few modules to be accessed via iphone also.How can we do that?
Do we need to develop separate iphone compatible modules or can we extend the functionality of existing asp.net web application to work with iPhone also.
This is tuned to work for IIS 6: notice .aspx after {controller}How can i make the same code work on both IIS 6 and IIS 7 without changing any on the IIS side?
For example, many programmers prefer CAST over CONVERT because CAST is compliant with the ANSI SQL-99 standard. Does this mean if I used sql 92 compatible functions, it will work with other RDBMS such as MYSQL?
I am having the error stated above. The stack trace is as follows:
[Code]....
Some info's:Server: Windows Server 2008 R2
.NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Oracle.DataAccess, Version=1.102.3.0bit
.NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Oracle.DataAccess, Version=1.102.3.0
My Code: OracleConnection cn; String con1 = ConfigurationManager.ConnectionStrings["myConnectionString"].ToString(); cn = new OracleConnection(); [code]....
I have checked all forums and posts regarding this error. They mention that there are 2 versions of Oracle.DataAccess.Client on the server, I only have 1 version. This runs on VS2010, but when I publish the website the error above shows up. I checked my Oracle connection from the installer and connection test passed. I tried uninstalling Oracle and reinstall, but still the same. The query above I tried changing to 'select region_code, reg_rom, ...', still the same error..
im usin visual studio 2010 and sql server enterprise edition 2005..
when my database is mapped to visual studio this table "Contract" contain a field "ContractAmount" tht is "real".. while the conversion is done the field is mapped as "single" in Edm which is makin me a lot of problems.. i tried to change the type to "Double" and then im havin the error below:
Error 2019: Member Mapping specified is not valid. The type 'Edm.Double[Nullable=True,DefaultValue=]' of member 'ContractAmount' in type 'Website_DBModel.ContractAEG' is not compatible with 'SqlServer.real[Nullable=True,DefaultValue=]' of member 'ContractAmount' in type Website_DBModel.Store.Contract'.
We are currently planning on trying to allow a user to be able to select multiple images to upload to an ASP.NET website. Can anyone give me some suggestions as to which commercial and free controls which we can use?Requirements would be that:is browser independent (works on IE, Firefox, Chrome, etc. without requiring extra download)allows user to preview image(s) before selectingeasy to integrate into asp.netsolution. a non javascript control (would prefer a c# based solution)good APIUI easy to changesimple to develop with