.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

MVC or ASP.NET for converting a Win application to web

Posted By:      Posted Date: October 19, 2010    Points: 0   Category :ASP.Net

We have a Win32 application, would like to make it web-enabled application.

First of all I am pretty new to ASP.NET.

At the moment I started developing using MVC for a pretty straight forward web application, with few 'pages', edit boxes, dropdowns, ... etc.

I can see in the next 6 months, I'll be doing a conversion of a Win32 application to web application.

This application has tabs (3 tabs), few buttons on the 'form', a datagrid/list components let the user select the records on the list.

There are check box on each record.

So what do you think I think develope using classic ASP.NET or MVC?

Your comments are highly appreciated !

View Complete Post

More Related Resource Links

Visual studio converting from website to web application

I have followed the MSDN instructions in converting an VS 2008 Website project into a VS 2008 Web application project. I am running across the following two issues, let me know if anybody has any suggestions:1) When using the "Convert to Web Application" option, it shows an error "Generation of designer file failed. Unknown server tag XXXX"Most of the server controls are registered in web.config with:<add tagPrefix="UControls" namespace="APP_NAME.UI.WebApp.Utils" assembly="APP_NAME.UI.WebApp"/>How can I make the web application converter recognize the web.config settings?2) After the convertion above, when I try to compile the project I get errors of the form "Name 'CETest' Is not decaled". These are classes from an external library in the code behind files. The code behind files on the old website did not use "Imports" but again relied on web.config "<add namespace="APP_NAME.Business.Entities"/>"Is it possible to not use imports in the code behind file for web application ilike n the website project? Or is there other alternatives? Or will this be fixed if #1 is fixed?Any suggestions would be appreciated.

converting windows application to web application

I was trying to convert my windows application to a web application.
All things done , I have left with the single error while is like this.

Error   1       The ValueSerializer 'RoutedEventValueSerializer' cannot convert
from 'System.String'.

This error comes in the XAML file on the line :

 <EventTrigger RoutedEvent="MouseLeave">

Any idea how can I eliminate this... This application works perfectly
fine as windows application.

In the browser however I get this exception :

System.Windows.Serialization.BamlParseException: Error at element 'EventTrigger' in markup file 'Page1.xaml' : An EventTrigger requires a value for its Event property..
   at System.Windows.Serialization.BamlRecordReader.ThrowExceptionWithLine(Int32 lineNumber, Int32 linePosition, String message, ParserContext parserContext, Exception innerException)

I am using JAN CTP.

javascript issues converting ASP.NET application from VS2008 to VS2010


I have encountered some javascript issues migrating an ASP.NET web application from Visual Studio 2008 to VS 2010.

1. When retrieving a value from a control, the following javascript syntax worked in VS2008:


In VS2010, I have to change everything to the following format:


2. I use Master pages extensively.  In VS2008, when the ASP.NET web form is displayed in the browser, the ID for a control in a child form in the content placeholder uses the following convention:


In VS2010, the ID for a control in the placeholder uses the following convention:


The "ctl00" is dropped.  Wherever I have used


has to be replaced with


Is there an alternative to modifying reams of javascript code?

Are there any other javascript surprises I should anticipate during the conversion?





Converting web application from 2005 to 2008 with crystal reports



I have a web application developed in Visual studio 2005. I need to convert it to Visual Studio 2008.  The problem is that the application is using crystal reports. When I'm trying to run a page with CrystalReportViewer I am getting the following error:

Could not load file or assembly 'System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

How do I solve this problem?


Microsoft's Collaborative Application Markup Language (CAML) Loop

discovered an interesting error recently while working with Microsoft's Collaborative Application Markup Language (CAML) that, surprisingly, had received no ink. Partly what surprises me about this is that the error may require you to rewrite large sections of your code if you haven't previously considered this SharePoint limitation. I'll start with some context, but first of all the error is:

Integrating a Legacy Web Application in SharePoint

This month we will continue with the theme of deploying Microsoft's SharePoint as a company intranet by describing a method for integrating a legacy Web application inside a SharePoint site.

In many companies the intranet site is not just a home page with announcements. It houses Web applications used by many different departments. In last month's article, I built a page to search the employee table in Northwind (the sample database included in Microsoft's SQL Server). This month, I will move the Web pages used to add/remove records from the table into the SharePoint intranet.

MVC architecture in ASP.Net using C# and Microsoft Data Access Application block

The Model-View-Controller (MVC) pattern separates the modeling of the domain, the presentation, and the actions based on user input into three separate classes [Burbeck92]:

Model. The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller).

View. The view manages the display of information.

Controller. The controller interprets the mouse and keyboard inputs from the user, informing the model and/or the view to change as appropriate.

High-Performance .NET Application Development & Architecture

It has always been a goal of project architects to plan an effective strategy from the ground up in regards to an new application. All relevant factors are taken into consideration with respect to the application, from its design and layout to a functional website infrastructure. Pre-.NET strategies and design guidelines still effective now were developed with Microsoft's DNA (Distributed interNet Application) platform. This model successfully served the purpose of architecting N(any number of)-Tier (levels) applications. In its basic sense, as in most robust, distributed applications, you'll architect 3 main layers or Tiers: presentation, business rules and data access.

Application architecture in asp .net

Application Architecture is the most important process of developing a good application. Some people tends to jump into coding without any architecture laid. Later we see those people changing the architecture and finally the application had to be developed from the scratch with the correct architecture.

In this article I will describe some details about how you can improve the architecture of you application. This article is targeted to the beginner's audience.

Improving Application Performance in .Net

Application performance has always been a concern for Web Application developers. This article contains guidelines and tips for maximizing application performance in ASP.NET.

Logic behind N -Tier Application Development

In the arena of application development, developers all over the world use various programming languages, technical processes, and technical tools. While using number of technical & non technical elements the processes or methods become complex, for simplification of the application development process, developers use various techniques such as dividing the application architecture into layers or parts. In the professional & technical language this separation or division process is called N-Tier Application Development process, where "N" stands for number and "tire" stands for layers or parts.

How to create 3 tier application using LINQ

As you know that in 3 tier architecture there are three layers

User interface layer. (Is our Form in Windows application and .aspx page in Web application)
Data Access layer. (Which provides interface between Business logic layer and Database)
Business Logic layer.(Which stores your application logic)

Using Lightbox in an ASP.NET Application

The article describes Lightbox as, "... a simple, unobtrusive script used to overlay images on the current page." It delivers a nice, professional looking method for displaying images as overlays through the use of hyperlinks.

Application Architecture: An N-Tier Approach - Part 1


Free Trial: SQL Backup Pro
Sponsored by Red Gate
Exceptional DBAs make the most of their office hours. That's why they love Red Gate SQL Backup Pro. Its faster, smaller, secure SQL Server backups mean more time spare to accomplish more tasks and professional training. Make time to be an Exceptional DBA. Download it now! »

Free Trial: SQL Toolbelt
Sponsored by Red Gate
The SQL Toolbelt is a set of twelve powerful and intuitive tools that will help you burn through SQL Server chores with astonishing speed and accuracy. Download it now! »

Download: SQL Backup Evaluation Center
Sponsored by Red Gate
Download the T-SQL scripts in the SQL Backup Evaluation Center to compare Red Gate SQL Backup Pro's compressed backups with the size of backups created using native SQL Server. Download it now! »

Autodesk Inventor®
Go Beyond 3D To Digital Prototyping With Autodesk Inventor. Learn How.
Virtualization Solutions
Optimize, Simplify, & Save Today. Learn About Microsoft Solutions.
Microsoft SQL Server® 2008 - Free Trial
Download the Free 180-day Trial of SQL Server® 2008 Enterprise Edition!
Hot Careers in Internet Marketing
Get prepared for your new career with online degrees from Full Sail University!
Microsoft Te

Solidify Your C# Application Architecture with Design Patterns

design pattern can solve many problems by providing a framework for building an application. Design patterns, which make the design process cleaner and more efficient, are especially well-suited for use in C# development because it is an object-oriented language. Existing design patterns make good templates for your objects, allowing you to build software faster. This article describes several popular design patterns you can use in your own applications, including the singleton, the decorator, the composite, and the state classes, which can improve the extensibility of your applications and the reuse of your objects.

Application Architecture in Windows Forms 2.0

Applications have special support in Windows Forms. For starters, you can manage and tailor your application's lifetime, and, when the work flow is disrupted by an unhandled exception, you can choose from several methods of response. Then, there are several application models that you can employ, including Single Document Interface (SDI) and Multiple Document Interface (MDI) applications, each of which can support either multiple-instance or single-instance mode, the former the VS05 default and the latter requiring special consideration. All applications, however, can discover and use a wide variety of information about the system and environment they execute in.

Application Architecture in Windows Forms 2.0-Single-MDI Applications

Consider an MDI application like Microsoft Excel; files opened from the file system (by double-clicking) are all opened as separate child windows within the parent Excel window.7 For the first instance of an MDI application to open a new child window to display the file that was passed to the second instance of the application, the second instance must be able to communicate with the initial instance.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend