Convincing Legacy Application VB6 Developers To Make Switch To C#
Oct 20, 2010
I know this question could be similar to others but really I'm looking for reasons why VB6 developers should switch to C#. My company recently approved project to be written in C#, so we have a lot of VB.Net programmers, however, we have some legacy app developers as well that are in VB6. We have a time frame to re-write those apps into .Net web apps. So no matter what they will have to learn new stuff.
One of the developers today specifically asked "why should we switch to C#?" I responded that the community largely has decided that C# is the way to go with about 80% of the examples in C#. I am a VB.Net programmer and I am excited to finally cut my teeth on C#, however, being that I'm so new I'm not sure I can answer the "why?" question. My reasons are more because I want to learn it. So without descending into a VB verses C# I really am curious if there are any resources that I can send to these developers to calm their nerves.
View 10 Replies
Similar Messages:
Mar 31, 2011
Coding with ASP.NET 2.0 C# on a legacy application. The database is in MySQL I would like to know whether anything breaks if I delete the following lines from my code
First <xhtmlConformance mode="Strict"/>
Then,
<compilers>
<compiler language="c#"
type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"
extension=".cs"
compilerOptions="/d:DEBUG;trACE"/>
</compilers>
And last,
<browserCaps>
<case match="^Mozilla/5.0 ([^)]*) (Gecko/[-d]+)(?'VendorProductToken' (?'type'[^/d]*)([d]*)/(?'version'(?'major'd+)(?'minor'.d+)(?'letters'w*)))?">
browser=Gecko
<filter>
<case match="(Gecko/[-d]+)(?'VendorProductToken' (?'type'[^/d]*)([d]*)/(?'version'(?'major'd+)(?'minor'.d+)(?'letters'w*)))">
type=${type}
</case>
<case>
<!-- plain Mozilla if no VendorProductToken found -->
type=Mozilla
</case>
</filter>
frames=true
tables=true
cookies=true
javascript=true
javaapplets=true
ecmascriptversion=1.5
w3cdomversion=1.0
css1=true
css2=true
xml=true
tagwriter=System.Web.UI.HtmlTextWriter
<case match="rv:(?'version'(?'major'd+)(?'minor'.d+)(?'letters'w*))">
version=${version}
majorversion=0${major}
minorversion=0${minor}
<case match="^b" with="${letters}">
beta=true
</case>
</case>
</case>
<!-- AppleWebKit Based Browsers (Safari...) //-->
<case match="AppleWebKit/(?'version'(?'major'd?)(?'minor'd{2})(?'letters'w*)?)">
browser=AppleWebKit
version=${version}
majorversion=0${major}
minorversion=0.${minor}
frames=true
tables=true
cookies=true
javascript=true
javaapplets=true
ecmascriptversion=1.5
w3cdomversion=1.0
css1=true
css2=true
xml=true
tagwriter=System.Web.UI.HtmlTextWriter
<case match="AppleWebKit/(?'version'(?'major'd)(?'minor'd+)(?'letters'w*))(.* )?(?'type'[^/d]*)/.*( |$)">
type=${type}
</case>
</case>
<!-- Konqueror //-->
<case match=".+[K|k]onqueror/(?'version'(?'major'd+)(?'minor'(.[d])*)(?'letters'[^;]*));s+(?'platform'[^;)]*)(;|))">
browser=Konqueror
version=${version}
majorversion=0${major}
minorversion=0${minor}
platform=${platform}
type=Konqueror
frames=true
tables=true
cookies=true
javascript=true
javaapplets=true
ecmascriptversion=1.5
w3cdomversion=1.0
css1=true
css2=true
xml=true
tagwriter=System.Web.UI.HtmlTextWriter
</case>
<!-- Opera //-->
<case match="Opera[ /](?'version'(?'major'd+)(?'minor'.(?'minorint'd+))(?'letters'w*))">
<filter match="[7-9]" with="${major}">
tagwriter=System.Web.UI.HtmlTextWriter
</filter>
<filter>
<case match="7" with="${major}">
<filter>
<case match="[5-9]" with="${minorint}">
ecmascriptversion=1.5
</case>
<case>
ecmascriptversion=1.4
</case>
</filter>
</case>
<case match="[8-9]" with="${major}">
ecmascriptversion=1.5
</case>
</filter>
</case>
</browserCaps>
I believe they all are not needed. Are they needed at all at present? What I would really like to know is whether anything breaks if I delete them. I would also like to know whether the snippet given below is relevant for ASP.NET 2.0
<sessionState mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
cookieless="false"
timeout="100"/>
when my application is using MySQL as database and authentication mode is windows.
View 1 Replies
Jan 14, 2010
Recently we've developed an E-Commerce web application for a client. We are at the stage before launch and the client is not happy to disclosing live merchant account details to us because they don't want us to potentially being able to see their clients' data.
Since we are going to maintain their website (running off their servers but we will still have access to the site files) I cannot see an easy solution to this other than trust.
How to implement and maintain E-commerce application when business don't want to disclose merchant details to developers?
View 2 Replies
Dec 30, 2010
I have a form where the user can choose a date and time in a GridView and the date is shown in a calendar. The date is marked in the calendar like it should but the calendar doesn't page itself to the month at hand.
[Code]....
View 4 Replies
Aug 19, 2010
A client has approached me requesting that I quote to build a project in .NET. One of their reasons for this is because it's easier to find a .NET developer than it is a PHP developer.I've tried searching google, but I can't find any stats on this. I suspect that there are more PHP developers, then .NET, I certainly don't know any .NET developers, but know a few PHP developers.Does anyone have a link to any stats which should how many developers their are for each path?
View 2 Replies
Jan 14, 2011
I have an ASP.NET 3.5 web application. For the application:
Configuration set to "DEBUG;
"Define DEBUG constant" checkbox is checked for "DEBUG" configuration;
web.config file contains 'true' as value for 'debug' attribute of 'compilation' node.
Nevertheless to everything the following code:
[code]....
put "DebugMode: False" into result string. In the same time I can't connect to the application with VisualStudio in debug mode...
Question:
how can I get real value of debugging mode?
View 2 Replies
Jul 22, 2010
I'm working on a new website, written in VB.Net using ASP.NET MVC2, there is a need to call "legacy" VB6 code for various complex bits of business logic. The VB6 is a framework consisting of many dlls and is very stateful, we are pretty much emulating how the framework is used in our client application, ie the application runs (lots of state setup), a user logs on (even more state) and then loads a file (even more state).
I've been provided with a "web service interface framework" to get this up and running for use in the web app, this "web framework" hides the legacy code behind a thin layer running under IIS. The idea being that thread pooling provided by IIS will reduce memory use etc etc. I can't help but believe that the guy who provided this has missed the point, since each instance is so stateful there is no way that a thread pool can work, since once a user logs on using one particular object from the pool, no other object will be capable of servicing that client (since it wont have the state)! Also, adding a web service interface and associated SOAP marshalling is a huge overhead compared to calling the objects directly.
The only way I can think of doing this is either a single legacy interface instance which is used by all clients and blocked by each call until it completes, or a thread per client with each legacy interface object being created in a new thread and living for the life of the client.
None of these is ideal but with the amount of code in question and the prolonged migration programme to .net (2+ years and still stateful) I can't think of an alternative. We run the original client app in a citrix environment for some customers so I expect that it could also run ok with thread per client given a beefy enough server and that the overheads of the framework itself should be lower than when the client app is involved.
View 2 Replies
Mar 17, 2010
I am not able to reproduce the problem in stage or development. It only appears when the website is under heavy load.
I think it is solvable if somebody who has a very good understanding of the internals of FormsAuthentication would have a look at it by logging into our system. It should be at least Scottgu!
Somebody told me that Microsoft Premier Support is a good choice for this kind of problems. We have no MSDN subscription or other connection to microsoft that enables us to use MPS.
Is there a way to get support on a incident base? Are there other ways to get this kind of support?
EDIT Here is the problem itself:[URL]
View 4 Replies
May 16, 2010
how to access a CGI from my Asp.net site,the request IP address must be my site's IP.I'm going crazy.
View 1 Replies
Apr 4, 2011
What should developers moving from ASP.NET Webforms watch out for when they move to ASP.NET MVC?
View 11 Replies
Feb 15, 2011
I've searched some FREE Controls, Templates, WebParts, Themes for SharePoint 2010, and its really hard to find good and free examples. Turned back into StackOverFlow and there is no Community Wiki for it. I want to open a Community Wiki about All Free SharePoint 2010 Controls, Templates, Themes, WebParts, etc... to collect them all in one topic.For example, there is a site about MOSS 2010 Free Controls in here. This site containt most MOSS versions controls, web parts. I want SO Users to add most usefull web sites for SharePoint 2010 Developers such as Free controls, themes, tools, etc.
View 1 Replies
Dec 26, 2010
I'm taking over a project built by other developers and they used Linq-To-Sql, which I've used, but not with stored procedures.
Most of them work, but some don't because the stored procedure returns a dynamic select statement. So L2S doesn't understand what return type to set for the stored procedure and it return an "int" instead of a "ISingleResult<some type>".
Even if I manually change the return type to what it should be in the data context and save (I know you aren't supposed to), the stored procedures revert back to the "int" return type. Is there any way to make them always return a particular type?
View 2 Replies
Feb 4, 2010
I am used to use Firefox's FireBug and It is really good. I can see all the info I need.Right now I am dealing with an application that is only compatible with IE, I am using the developer tools of IE but it is not as intuitive as Firebug and I can't figure out how to see the size of the packets sent from the client to the server, so far I see the time spent in each request.
So, is it possible to view the size of the packets sent with IE8 developers tool?
View 1 Replies
Oct 10, 2010
I'd like to mimic the behavior of the "profile provider" that is available in .Net. The profile provider acquires profile properties from the web.config and those properties are immediately available as an enum for use in the code behind.I'm unsure how to do this, and wondered whether someone may be able to help.Essentially I'd like to allow developers to enter Role information into the web.config, and then have this role information available for use within an enum in the codebehind.
View 1 Replies
Apr 14, 2010
Trying to integrate with a legacy WSE web service, getting the below error while authenticating via that internal service. It's pointing to a line in web.config(</securityTokenManager> as in the below snippet of web.config file), but I dont see any issue in web.config. Copied the same build to other machine(Win2003) and it's working fine, I am seeing an error in Win XP. I checked for the related assemblies(the one mentioned under securityTokenManager), it's all there.
[Code]....
View 1 Replies
Mar 11, 2011
I am using a third party service that does an async callback to a URL I provide to them. So I tell them to use [URL] This must obviously map to an Incoming() method on my StatusController.
However, what I don't have control over is the format of the parameters they call my URL with. E.g. They will do a callback such as: [URL] I want to map this to the parameters of my action method: Incoming(string param1, string param2, int param3)
How do I do this?
View 3 Replies
Jun 1, 2010
We're migrating one of our sites to ASP.Net. We do not want to use integrated security, which uses the windows account to connect to sql server (not going to get into why, its just out of the question). We created a username and password to connect to SQL Server, and would like to use that username and password, however, we also do not want other developers to see this information (easily read from the web.config).... I know it can be encrypted, but it can just as easily be decrypted by the developers - plus encryption has a performance hit.
View 5 Replies
Mar 18, 2010
I have a co-worker who supervises a group of ASP.NET developers who are doing lots of ASP.NET/SQL Server apps. My co-worker was very technical at one time, but his last programming assignment was writing Fortran code in the 1980s.
He has asked me to help him gain a deeper knowledge of ASP.NET Web application development to equip him in his supervisory role. I will be spending an hour every other week with him providing training, and he will probably not have a lot of time to commit otherwise.
What would you recommend as topics to cover, tutorial resources, etc. so that I can help him get up to speed in his role as a supervisor of ASP.NET developers?
View 1 Replies
Sep 23, 2010
asked in forums but I could not find any forum, newsgroup or discussion boards for "trainers" (teachers, coachers) and supporters (writers of courses, sysadmins of labs, et al) of professional courses for IT developers Might be the certified by major vendors trainers have the sites with forums but they are closed to non-certified "colleagues". Are there? I even do not know!I train as a hobby, sporadically, and I am not certified as trainer, at least by private entity. I daresay I spend on preparation to train more than I earn from training
View 1 Replies
Sep 1, 2010
Hint: this one might sound complicated, because I am trying to give as much info as possible, but I suspect that I just want someone to tell me "yes, you are correct".
On this legacy system, which dates from 2002, the user visits a web page and uses an RFID reader to read a tag number, which is then written to an input field on the web page.
The only s/w that comes with the reader is a custom DLL, nop .exe.
The very sparse documentation insists that only MSIE be used and that all security relating to ActiveX be disabled.
When I look into the source of the web page I see calls to functions in the DLL.
Now, here's the fun part: I know zilch about ActiveX, I have to make a minor change to the DLL _but_ the VB6 source code has been lost, so I guess that I have to recreate the (seemingly very simple) DLL from scratch - this week.
Decompiling the DLL shows me the functions (locateReader, getTagVal, closeReader). However, by decompiling I can't really know the number or type of the parameters, nor the return values ... and if anyone knows the API they are refusing to share it, but basically it all seems to have been lost in the mists of time as companies went bust, were bought & sold, merged & demerged and the initial DLL might have been written by an external guy, but no one knows who.
So, can I get the function params & type from the ASP page source?
I see things like
Reader = new ActiveXObject("<dllName>.Reader");
Reader.locateReader();
tagVal = Reader.getTagVal();
Reader.closeReader();
So, I would say that none of the fn()s take parameters, that closeReader doesn't have to return anything; it looks like locateReader doesn't return anything either, so I guess that error handling will have to be in the DLL (loop forever with a popup demanding that a reader be attached; and getTagVal seems to return a string.
Does that sound about right? Any other comments (other than lessons to be learned)?
View 1 Replies
Apr 29, 2010
how to set the <xhtmlConformance mode="legacy"/> tag in web.config as "strict" using the codes in c#.net for an asp.net webaplication
View 1 Replies
Jun 17, 2010
I have a page which is using the AJAX Control Toolkit HTML Editor. I have it configured with only the Bold, Italics and Underline buttons. Once the user saves the information, it's stored in a database table. No problems.
I need to change the resulting code so the HTML code can be correctly interepted by a Crystal Reports report. CR doesn't understand the <span> options being created by the HTML editor. So for example, I need to change the
<span style="font-weight: bold">Bold</span> code created by the HTML Editor so it's entered into the database as <b>Bold</b> instead.
I can attempt this in the code behind, but I then also need to replace the </span> with a </b>. This causes an issue because if there are multiple options (e.g. bolded word within an underlined line), then the proper tags won't be closed as they should.
View 2 Replies
Nov 19, 2010
here is a legacy code which has following implementation Example1 and Example2.f we try to implement MSDN recommendation then the legacy code fails.
void Page_Load() {
if(condition) {
/// some condition
} else {
RedirectPage(url);
[code]...
View 1 Replies
Jan 12, 2011
Our old ASP.net site stored static images in a sub directory on the root called /images.
Our new ASP.net MVC site stores these images in the new layout of /Content/Images
I've changed all the pages in the site to cope with the new folder structure, but I'd like to set up Permanent Redirects from the old static images to the new location.
View 1 Replies
Nov 12, 2010
Searching for out of box authenitcation tool/component that authenticates against Active Directory for Classic ASP AND legacy .NET 1.1 applications.
View 2 Replies