JSP Tutorial for ASP.Net Developer [closed] - asp.net

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am an ASP.Net developer looking to expand my dope skillz to the wonderful world of Java. Strangely, there seem to be a ton of "ASP.Net for the JSP Developer" tutorials, but very few (no?) "JSP for the ASP.Net Developer" tutorials. Just simple things like the difference between the file structures and layout, what webserver to use and how to configure it, etc... A thousand tiny differences add up to a frustrating experience that, no doubt, a single good tutorial could easily answer.
So... anyone know of a good tutorial? Or, short of that, what is the best "getting started" with JSP tutorial?

I do not know any tutorials for that neither, but I know a little of both worlds (jsp and asp.net) and I recommend you two ways:
1st. If you just want to know the syntax differences, It might be a good try take a first look at this JSP Overview by Sun and you will automatically map main differences (I do not recommend you to go this way because both platforms do not differ only on its syntax)
2nd. If you are going to develop Java Web Applications, you should take a first look J2EE Tutorial (specially in Part II) and also some MVC frameworks (Struts, Spring Web MVC) and some 'different MVC approaches' JSF.
JSP is a front-end technology, it is not a good practice to put business logic and/or complex code on it.
Hope it helps.

Related

Are there any good ASP.NET MVC2 or MVC3 cheat sheets available? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have been looking for some good MVC2 cheatsheets to help a new team of .NET developers get used to some of the basics of MVC as a pattern and also MVC2 as a microsoft framework.
I found a few examples for MVC1 in relation to the HTML helpers but nothing that including the new features of MVC2.
Where can I find some cheat sheets for MVC2?
RedGate has a good MVC poster you can download, but this doesn't go into great depth on the objects and properties in MVC.
Alternatively there are a few MVC 1 posters here.
http://devcheatsheet.com/tag/aspnet-mvc/
Red Gate has a great MVC Request Handling poster
There are several MVC posters available here (there are at leave 4 MVC ones):
-Removed Link Chrome is showing Malware error

I'm learning ASP.NET. Where can I find some (complete) sample website to study/analyse? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have learnt most of the main skill points in ASP.NET model, eg how to use a GridView. I would like to find some complete website with source code to analyse/observe, but so far it seems on the internet most learning resources are dealing with a specific topic. Is it possible to find some?
There are lots of open source asp.net websites out there.
See this list from the Microsoft asp.net site, in particular the starter kits and samples section.
I suggest you download and install the free Web Platform Installer from Microsoft. In the tab Web Applications you can find a lot of ready made applications to learn from.
Check out this video: http://www.asp.net/general/videos/build-your-first-asp-net-application-with-asp-net-web-forms
It explains well where to start and how to create "Hello World" type of application.
Don't bother with Web Platform Installer/other advanced starting kits because they are too complex for someone new with the platform.
There seems to be a lack of sample asp.net websites with available source code. Note an open-source website does not mean you can obtain the website. You may have to buy the website to view the open source. However I did find a large number of real-world websites with available source code in Chinese.

ASP .NET Code analysis tool to check cross site scripting [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am aware of a tool which MS has provided which tells you about coss site scripting attack etc.
The tool is http://www.microsoft.com/downloads/details.aspx?FamilyId=0178e2ef-9da8-445e-9348-c93f24cc9f9d&displaylang=en
But are there tools which you have used for ASP .NET applications which do similar to this and which one is widely used in ASP .Net applications ?
Unfortunately CAT.NET is as good as dead so you can rule that one out.
In terms of XSS detection, if you're wanting to test vulnerabilities in an existing app you need not constrain yourself to static code analysis or .NET specific tools. There are plenty of language agnostic scanners out there you can run against the URL of an existing site.
One I've found very useful in the past is Netsparker from Mavituna Security. This is really easy to get up and running with (download it, enter a URL in a nice UI, run the scan) and the results are easily interpretable. You can grab a free community version which will identify persistent and reflective XSS (among other vulnerabilities) or pay for a licensed edition with a heap of additional features.
Are you thinking of the Web Protection Library?

Is there any Disk Cache solution for ASP.NET? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
My client has a busy traffic site with a big amount of pages, ASP.NET's built-in cache solutions is good, but it only stores content into the memory. Since the site has a big amount of pages, so I think disk caching would be a better idea. But after searching I didn't find a solution, any suggestions?
There is the ConcurrentCache project on codeplex which has support for 4 caching modes:
Memory
Files
Compressed
Auto
I can't say much about the project as I only just found it myself but I'm giving it a go right now.
ASP.NET 4.0 allows you to write your own cache provider. Scott Gu's blog discusses the details.
.Net 4 lets you write your own using OutputCacheProvider and there may be some examples out there. No doubt someone will roll out an open source project around this when .Net 4 gets more traction.
There was one in ASP.Net 2.0 Betas apparently, but it got removed in the RTM. You can still find references to the web.config DiskCache parameter.
This gist is based on Scott Mitchell's article.
DiskCache.NET is a library that lets you cache data in a file.

ASP.NET sample applications [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
anyone know of some well written (but not too complex) ASP.NET web applications/websites that i could download from code.google.com or something? i just want to peek at how some other projects look to get some ideas for how to structure my project before it goes live. many thanks.
Check here : Microsoft Official ASP.NET Starter Kits
Take a look at The Code Project. Lots of good stuff there.
CodePlex has a lot of the microsoft asp.net open source projects, also a good place to start
I would recommend using ASP.NET MVC 2 for new web development.
You can find proper 'real-world' sample application called NerdDinner and 185-page PDF walkthrough 'how-each-line-was-written on Code Plex. Nerd Dinner has many nice features, like intergration with maps or OpenID.
Running app is here: http://www.nerddinner.com/

Resources