Home -
General /
All posts - Create web page for ASP.NET, VB
|
Does Manifold have an option to create a web site for ASP.NET using VB? To date I have been working in classic ASP and JScript. (I "inherited" a site which I have been maintaining.) Due to a number of issues with the current site we have decided to redevelop the site from scratch? All the indications are the for performance and maitainability ASP.NET with VB is the way to go. However when I go into my map and go to File > Export > Web page... the only language options are ASP, JScript and ASP.NET, JScript. Am I missing something here or are these the only options? Also when I look at the code generated for .NET I don't see much that is really taking advantage of .NET. I find this surprising since Manifold requires the .NET 2.0 Framework to be installed before it can be installed. I'm using Manifold System 7x Enterprise Edition build 7.1.17.1432. Thank you for any sugesstions Derek
|
|
ASP.NET with VB is the way to go. the only language options are ASP, JScript and ASP.NET, JScript. Am I missing something here or are these the only options? ASP .NET uses VB .NET or C#. One cannot have ASP .NET without either VB or C#. So if you choose ASP .NET you should be good to go. Dave
|
|
asp.net can also use jscript.net, but there don't seem to be a lot of people using that. manifold pages (last time i checked) are still using jscript and it would be really nice to have the server side code in vb
|
|
I converted the jscript to straight classic asp, and it works well. Just s personal preference, really. But one minor drawback is that any code samples also have to be converted.
Phish reunion - March 6, 7, 8, Hampton, Virginia. |
|
Manifold's IMS export hasn't been altered since about version 5.0 (before .NET I think), so the IMS doesn't make use of ASP.NET. They can be converted over to .NET, which requires completely re-writing. I have done some of this, but I am yet to see an example posted by anyone of a complete ASP.NET version of the export.
|
|
Thanks to everyone for your input. Between you I have the answer to my question: I'll have to convert/rewrite everything myself! For the last 18 months I have been working with classic ASP and JScript although prior to that I had some experience with VBScript and VBA. Still learning and converting to ASP.NET and VB 2005 seems like a daunting task. I want to go .NET for the performance increase and VB looks like the best option when it comes to finding help and code samples on the internet. In fact information on classic ASP is rapidly vanishing.
|
|
Just facts.. From Manifold help: About ASP .NET ASP .NET is a new technology introduced by Microsoft in Windows .NET servers. Microsoft ASP.NET is more than just the next generation of Active Server Pages (ASP). It provides a new programming model for creating network applications. From http://en.wikipedia.org/wiki/ASP.NET ASP.NET is a web application framework developed and marketed by Microsoft, that programmers can use to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. So, my questions are: 1. What Manifold mean saying "a new" 2. What Manifold mean saying "ASP.NET.." in export web site without NET at all? 3. Maybe someone converted "Manifol ASP.NET" site to "Microsoft ASP.NET" site and can share it for community (and for Manifold )?
|
|
1- Ok, it is not new at all. The user manual has not been revisited on this topic. 2- Why do you say it is not in ASP.NET ? I don't follow you. 3- What's the difference ? I think you are misunderstanding a couple of thing about .NET and Manifold IMS.
IMS codes, trainings and programming services available at www.dynamicmaps.net |
|
1. The user manual has not been revisited on this topic. - agree, and btw., there are much more such topics 2 Why not NET? OK. Try to open default.aspx in Visual Studio and drop simple control on form (button or label) And you get message "Inserting an ASP.NET control..blah-blah.." (see attachement) If you press OK and recompile project you get 54 errors + 54 warnings + 29 messages. If you don't believe, just try it. 3. ... Attachments:
 net_or_not_net.PNG
|
|
I see. I don't work with VS. I cannot help. Regards, Vincent
IMS codes, trainings and programming services available at www.dynamicmaps.net |
|
Using the Save as a Web page and selecting ASP.NET, it really just gives the file an ASPX extension and applies the @Page directive. If you want a true .NET site, it would be best to create a new project, register the Manifold DLL and begin to create your site. My personal experience has been that it was easier to do it this way. Shawn
|
|
Thanks u both.  So, my thirst question remains open.. 3. Maybe someone converted "Manifol ASP.NET" site to "Microsoft ASP.NET" site and can share it for community (and for Manifold )?
|
cartomatic116 post(s) online |
I was planning to when I started playing with ims, but apparently it was easier to design an ims app from scratch rather than trying to rewrite the code. Well, at least in my case :-)
|
|
Do you do it every time from scratch, from zero? Create map display, implementing zoom in, zoom out, pan, measure tools, etc. again and again? I don't believe you You sould have something like minimal skeleton of working asp.net application... If you have "starter pack" in asp.net and can share with others (or only me) i thank you in anticipation. my email: seekert123 (at) gmail.com
|
cartomatic116 post(s) online |
Oh I was talking about preparing my own 'framework' once, instead of rewriting the javascript stuff. And that was easier for me :-) I am not ready to show of my work yet (although have posted a screenshot once) as I am still waiting for 'my' server to become operational. Working for gov companies has its drawbacks sometimes ;-) Asp.net doesn't really solve any of the clientside problems. It's easier (at least for me) to program serverside stuff, but if you're after a nicely behaving application, you'll still have to consider lots of javascript coding (knowledge of html and css is handy too). It does make life easier with async postbacks though - nice and easy to use asp:updatepanel :-) To be able to pass some javascript generated data to the server and back again you have to use hidden text boxes as per manifold examples. After all most of the techniques are the same or very similar. Just a different language and perhaps dev environment. Anyway, I'll drop you a line and perhaps will be able to help you a bit.
|