WinForm Application to ASP.NET

Discussion in 'ASP.NET / ASP.NET Core' started by DaveRF, Aug 19, 2008.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi Guyz,
    I need to convert a WinForms application to ASP.NET.
    Do you know of some tool or environment that can help me save time with coding.

    I need to have my new ASP.NET application responsive, secure and quick to code and maintain

    Thanks
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Hmm.. no i don't know of such tool. But, you can pretty much copy and paste most code into the code file

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. I don't see how any application can do that for us.
    If you watch the Microsoft ASP.NET Debugging team at all you'll notice they wrestle with this a lot.
    With and without WPF there are so many differances in the System references.

    For example...
    Imports System.Windows.Controls.Primitives

    And thenthis using it...
    Partial Public Class Window1
    Dim _rootFolder As String = "System.Environment.GetFolderPath(Environment.SpecialFolder.User)"
    Private Sub Window1_Loaded(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles MyBase.Loaded
    Me.Width = 800 : Me.Height = 800
    Dim Query = From file In IO.Directory.GetFiles(_rootFolder, "*.*", IO.SearchOption.AllDirectories) Select file, Ext = IO.Path.GetExtension(file).ToLower Where Ext.Length > 0 AndAlso ".avi .jpg .mid .mpg .wma .wmv".Contains(Ext) Select FileName = file.Substring(_rootFolder.Length + 1), Type = Ext.Substring(1), Size = (New IO.FileInfo(file)).Length
    Me.Content = New BrowseWithMedia(Query, Me)
    Me.Title = _rootFolder + " #Items = " + _
    CType(Me.Content, BrowseWithMedia).Items.Count.ToString
    End Sub

    Would be tough. [​IMG]
     
  4. Thanks for your reply bruce, I know that a large amount of the DAL can be reused but the entire UI concept different and i have alot of UI logic in my code.
    anybody have any thoughts to share?
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page