creating a whole site using asp.net 2.0 - asp.net

i am new programmer i am using visual studio 2005
i am making a project it is a e commerce site
1. what guideline should i follow ?
2. what r de step i must take before creating de site ?
3. where can i take help if i may get stuck ?
4. any pdf file that can help me out ?

This is such an open ended and subjective question that it's impossible to answer as a simple bullet point. please ask the question again on it's own.
Planning, planning, planning. There is no substitute for it. Also you should do a few (tester) web sites to get used to the environment and the language you choose.
You can get help here.
Not as such. I suggest buying a book or 10 and reading through them and doing the samples. Start off slow and basic.
EDIT
Also look at WebMatrix. It will create a site for you that you just need to modify a bit. It will also give you a good idea on some techniques.
EDIT 2
Also consider upgrading to VS2008 or VS2010. Express editions of both a free from the Microsoft site.

If you're new to programming and to the VS IDE, I would definitely suggest starting with something a little less ambitious than an E-Commerce site.
Start here:
http://www.asp.net/
UPDATE:
Since you are using Web Forms, you could start with the TailspinSpyworks (iBuySPy re-written for ASP.NET 4.0) E-Commerce site tutorial from Microsoft's Joe Stagner:
http://www.misfitgeek.com/op-ed/introducing-tailspinspyworks-webforms-sample-application
When you get to the checkout part, you need to be aware of a gotcha relating to the fact that an ASP.NET form can only have a single form tag. If you are integrating with PayPal and want to avoid messy JavaScript hacks, you can follow the steps I blogged about to get around this problem:
http://www.codersbarn.com/post/2008/03/08/Solution-to-ASPNET-Form-PayPal-Problem.aspx

Related

Microsoft WebMatrix: what is it?

I'm a little confused about new Microsoft products.
I'm a classic webform Asp.Net developer. I know exists also Asp.Net MVC with a different approach based on Mvc pattern.
Now, i know exists also WebMatrix that uses new Razor "notation".
Can someone explain me what are the main difference between that "technology" ? When use WebMatrix, when WebForm ?
Thanks!
Webmatrix is a platform that integrates a variety of recently released technologies such as IIS Express, Asp.Net Webforms, Razor, SQL Express etc. I guess from what I have been reading it's a way that eases the barrier to entry, for non-MS developers, into the MS world. In addition you can also use code your site in PHP and use a variety of open source tools for developing web sites. To directly answer your question, in you planning on creating a complex web application, WebMatrix may not be the solution you're looking for.
As a reference, I suggest reading through Scott Gu's Introduction to Webmatrix
WebMatrix will be able to take
advantage of these technologies to
facilitate a simplified web
development workload that is useful
beyond professional development
scenarios – and which enables even
more developers to be able to learn
and take advantage of ASP.NET for a
wider variety of scenarios on the web.
If you are a professional developer
who has spent years with .NET you will
likely look at the below steps and
think – this scenario is so basic -
you need to understand so much more
than just this to build a “real”
application. What about encapsulated
business logic, data access layers,
ORMs, etc? Well, if you are building
a critical business application that
you want to be maintainable for years
then you do need to understand and
think about these scenarios.
Imagine, though, that you are trying
to teach a friend or one of your
children how to build their first
simple application – and they are new
to programming. Variables,
if-statements, loops, and plain old
HTML are still concepts they are
likely grappling with. Classes and
objects are concepts they haven’t even
heard of yet. Helping them get a
scenario like below up and running
quickly (without requiring them to
master lots of new concepts and steps)
will make it much more likely that
they’ll be successful – and hopefully
cause them to want to continue to
learn more.
One of the things we are trying to-do
with WebMatrix is reach an audience
who might eventually be able to be
advanced VS/.NET developers – but who
find the first learning step today too
daunting, and who struggle to get
started.
If someone is still interested: a pretty good lessons here http://habrahabr.ru/company/microsoft/blog/136004/ . This link is for those, who understand russian.
Shortly speaking WebMatrix allows you to conveniently mix up C# server code and html (this mixing is provided by simple Razor sytax). Also in WbeMatrix 2.0(beta version now) is provided full IntelliSense for html/css/c# code.

ASP.NET Web Sites Examples

We plan to develop a ASP.NET ( VS 2010 ) web site.
We need to know if there are any ready made startup ASP.NET web sites so we can get them and adjust / upgrade according to our needs.
Thank you for your quick reponse
John.
There are lots of examples out there, and even VS 2010 has some templates that will get you started. There isn't really much detail about what kind of website you are starting up, so beyond that you probably won't get much in the way of answers here to your question. Most of the questions on here are of a more technical nature, and without showing that you are attempting something specific and that you have tried it on your own, answers will likely be few and far between.
You can check out some of the starter kits posted on asp.net:
http://www.asp.net/community/projects#jm_starter_kits_and_samples

How can I convert a bunch of .asp to .aspx?

I want to port an existing, legacy, ecommerce website from ASP to ASP.NET.
What approaches do I have ?
is there a way to run an ASP file with an ASP.NET engine ?
are there tools to automatically convert ASP to ASP.NET and do they work on complex websites ?
other approaches ?
Thanks for your help
Jerome Wagner
No, but if you have Asp.NET on the server, that doesn't mean the Asp pages won't run anyway. Having Asp.Net installed does not break classic asp. However, newer versions of Windows come with classic Asp turned off by default, so you have to go into add/remove programs/add/remove windows components and drill down to install asp. And there's nothing to prevent you from having asp pages sitting side-by-side with Asp.Net pages in te same website, or even the same directory, so really the first question si not really an issue.
I've never heard of them. Classic ASP is so different from Asp.NET that it's just not feasible.
Manually, one page at a time. And that is an approach that has issues because sharing session between Asp and Asp.Net is not trivial and relies on hacks.
I know this isn't an answer to your question and it's probably none of my business, but in my experience, this may be a good time to look at a commercial ecommerce site. Several are out there at good prices. The amount of time you'll spend on this may be way less than you'd spend. Also, PCI rules and security issues have changed so much since classic Asp was a "real" development platform that you're definitely better off with a commercial app.
I say this from experience. We just replaced our old shopping cart with a commercial one after spending quite a bit of time going back and forth on our best approach. If you can afford it, i strongly recommend it.
The other answers are valid, so I'll only add that there is a migration tool of sorts provided by microsoft: The ASP to ASP.NET 1.x Migration tool . It doesn't claim to completely migrate a site, but may assist with a large portion of it. Of course, this assumes that a asp.net 1.1 site will run just fine on the latest incarnation of asp.net.
Step 1. Gather requirements for the new system
Step 2. Does anything exist that already meets your needs? if so, stop here and buy it.
Step 3. Build a data model and screen designs.
Step 4. Does the new system jive with the stake holders expectations. Go back to step 1 if necessary.
Step 5. Code new site
If necessary, review various standard project templates (scrum, waterfall, whatever). Pick one and stick to it.
You'll notice a distinct lack of anything remotely related to "converting" the old code / data files to the new platform. This is to preserve your sanity and help ensure the project will be a success.
To answer the actual question: no. You might as well have asked if there were tools to convert a php site to java. They are radically different things with their own approaches.

Framework /starting point for social networking site in .NET?

I did do some googling and searching on this site but did not find exactly what I was looking for.
I'm hoping that someone can point me in the right direction here. I'm an ASP.NET/SQL Server developer and would like to develop a (intially) basic social networking site (gasp). Before I start from scratch with a blank solution in ASP.NET, I'm wondering if there are any frameworks out there ASP.NET specific that would serve as a good starting point. I'm already thinking of using the Google Maps jquery control for my Google Maps integration, as well as the 'sharethis' control for my social networking website sharing integration. Captcha for human authentication... But other than that I'm not sure what I can leverage... Nothing on Google jumped out at me on my search terms.
I'm also wondering if anyone else has done something similar and could share their post mortem/war stories with me.
I'm also open to learning a new platform/language if it would mean saving time - my experience is mostly in ASP.NET, so that is what I plan on using if it makes the most sense. My initial requirements are basic and realistic - profile setup (images, information, etc.), 'group' creation, Google Map integration, calendar controls shared by groups, SMS support, discussion forums among groups, searching for groups, OpenID integration most likely, etc. I am not going to try to build the entire site and then release it, but take baby steps and release pieces of functionality at a time.
Any advice is greatly appreciated for a broad question such as this. Thanks again.
I've found DotNetOpenAuth which seems to be a nice API for handling OpenID for ASP.NET web forms. They also have an ASP.NET MVC version
I also found MS Web Platform. This looks like some good stuff. Anyone ever use it and think it would do well for this sort of app?
I found a library for DotNetNuke called ActiveSocial. It's priced right ($500) and has more than the features I need but lacks some. I wonder if anyone here has ever used AS before. Is DNN easy to extend so I can add Google Maps functionality and such? It doesn't say anywhere on snowcovered (the vendor that sells AS) if AS comes with the source. If it didn't, then I might be screwed because I wouldn't be able to integrate the functionality I want.
I went through this exercise about 15 months ago when I built a SNS for a client. Hoping to find some basic framework for Friends, Chat, Profiles etc I was pretty disappointed.
That said, in retrospect I wish rather than building one that we would have purchased a solution like Community Server. As with most projects I looked at the problem scope with beer, no strike that, ambitious goggles on and the level of work to cover all the edge cases was more than I imagined.
Tread careful my friend, tread careful.
I think this is what you're looking for. Kigg is an open source ASP.NET MVC app that would be a good starting point for what you want. Here is the url: http://www.codeplex.com/Kigg
You can also find a site that is using this here: http://dotnetshoutout.com/
At the very least you will learn the ASP.NET MVC framework which is fantastic.
While not exactly intended to be used for social networking sites, both of these frameworks can help you so you don't have to start from scratch:
DotNetNuke: http://www.dotnetnuke.com/
Umbraco: http://umbraco.org/
Also, for an out of the box solution (no code involved) you could always try this: http://www.ning.com/
Good luck!

Asp.net - what are the best latest tools /frameworks, etc to look at . .

Ok, i have done a bunch of asp as well as asp.net right when it came out. A friend is starting a non profit organization and he wants me to put together a site for him. I figured i would kill 2 birds with one stone and look to freshen up my skills on the latest that the web has to offer in asp.net, web 2.0, etc.
The site requirements are pretty simple:
Organization mission statement
Users ability to register
Photos, content
Blog posts
Ability to donate directly on the site (maybe through paypal)
So my questions is what are the best tools to start here given its going to be hosted on windows ASP.net platform 3.5. Any other frameworks that i should be looking at.
Where is the best place to start?
I could easily build the site just putting a table together and a bunch of static pages but i figured if it made sense to utilize and help freshen my skills, it would be worth the efforts of the learning curve.
Feel free to suggest any other items that i haven't listed.
Have a look at ASP.Net MVC and JQUERY also take a look at S#Arp as a nice platform to build your site upon. It setups ASP.Net MVC, with nHibernate and has really good guidance on a good DDD structure.
In case you've overlooked it, The AJAX Control Toolkit -
addresses three needs. First it gives website developers a place to get components to make their web applications spring to life, second it gives a set of great examples for those wishing to write client-side code, and third it is a place for the best script developers to get their work highlighted.
For an open source functioning CMS system, look at N2. N2 is a lightweight CMS framework to help you build great web sites that anyone can update. The user interface is intuitive and empowering. The developer story is something quite exquisite.

Resources