using asp.net portal - asp.net

I am looking for ASP.NET applications that I can deploy to my local server. Can anyone suggest a link for open source .NET applications or any book?
Any suggestion would be helpful.
Thanks

If you are using Visual Studio 08 or 10 then they have built in ASP.NET Application Templates which will get you started.
These include a basic website with a Home and About page, also a Login/Register page and all the code to handle the Login and Registration.
If you create one of these, then you can deploy it to a local server as long as you have the .net framework, IIS and various other bits installed.
EDITS
Go and download the Web Platform Installer. From here you can download various templates and up-to-date tools. I would upgrade from VS 05 to a newer version, maybe Visual Web Developer Express 2010 as this will give you more options.

Related

Missing ASP.NET 5 Templates

I am following this setup tutorial
https://docs.asp.net/en/latest/tutorials/your-first-aspnet-application.html#create-a-new-asp-net-5-project
And have come across a problem. In the tutorial the instructions are as follows:
Start Visual Studio 2015. From the File menu, select New > Project.
Select the ASP.NET Web Application project template. It appears under
Installed > Templates > Visual C# > Web. Name the project ContosoBooks
and click OK.
This is fine, but in the next step :
In the New ASP.NET Project dialog, select Web Application under
ASP.NET 5 Preview Templates. Also, make sure the Host in the cloud
checkbox is not selected and click OK.
I am seeing no ASP.NET 5 Preview templates!
The only thing I am noticing is that my Authentication states No Authentication but I am signed in so I am not sure what this means or whether or not this is a factor.
The version I have installed of Visual Studio is "Community 2015".
I have already gone through the perquisites as outlined in This Article.
I am hoping that someone with a more thorough knowledge on the topic can help me out as I have not been able to find any threads etc. of the same issue or what could be causing the Templates to be missing.
Asp.net 5 templates no longer exist - they are renamed to Asp.net Core: ASP.NET 5 is dead - Introducing ASP.NET Core 1.0 and .NET Core 1.0
So, when creating your project, instead of picking "ASP.NET Web Application" as it is in the video - you would select "ASP.NET Core Web Application" and then on the next page those 3 templates (Empty, Web API, Web Application) are the same as the video's asp.net 5 preview templates
VS 2015 Preview is going under ASP.net Core web application. If you cant see that one under templates you may go to this site and download .NET Core 1.0 for Visual Studio then install.
I have concluded, by following another stackoverflow question on How to check the ASP.NET version loaded on a system as I noticed that the templates were categorized in the ASP.NET versions (4.6.1 & 5) in the tutorials but mine were not.
So I then checked and my files in C:\Windows\Microsoft.NET\Framework are as follows
Revealing no v5.0 directory. I rectified this and now all of the templates are available
AMENDMENT:
To fix it:
I went to http://www.asp.net/downloads and downloaded ASP.NET MVC 5
I ensured I had Developer Tools checked in the download process.
This issue was now resolved - As I then had the MVC 5 template files. Because I downloaded them, so I had them... and no longer didn't have them.
ALTERNATE FIX:
Furthermore From my research, some people had not included Developer Tools. To resolve: go to old mate 'Add or remove programs' and find your Microsoft Visual Studio 20xx install, 'change' and install Microsoft Web Developer Tools
I have had the same problem but it is actually even better because "The new dialog enables you to change the default authentication options for many of the templates. For example, when you create an ASP.NET Web Forms project you can select any of the following options:
No Authentication
Individual User Accounts (ASP.NET membership or social provider log in)
Organizational Accounts (Active Directory in an internet application)"
check out this >> http://www.asp.net/mvc/mvc5
I recently had this problem and finally fixed it by uninstalling (control panel -> uninstall a program) Microsoft.NET Core and Microsoft Visual C++ redistrutable 2015 (x64 & x86) and then re-installing the asp.net core rc2 (https://www.microsoft.com/net/core#windows or possibly check Tools->Extensions and Updates->Updates inside of Visual Studio).
I uninstalled the Visual C++ redistrutables because I kept getting an error when trying to re-install asp.net core rc2. It kept telling me that it already existed even after I had just uninstalled it and the update was showing in the "Extensions and Updates" section of Visual Studio after trying (but failing) to install the asp.net core rc2 update.

Asp.net mvc in SharePoint

I created a ASP.net MVC 5 project in Visual Studio 2013, running in a Windows 8.1 Pro.
I've been ask to put my project on a SharePoint, but I don't quite know how it's done.
i tried creating a SharePoint project on my Visual Studio but it won't let me since I don't have SharePoint installed, and when I try to install SharePoint Foundation 2010 or 2013 it complains I don't have Windows Server.
How do I make my project work on a SharePoint?
So you want to put your project on sharepoint? Cool!
In your case you definetly want to get your own SharePoint environment. To develop Apps (or Add-ins as they are called today) you mainly use Client-side code and techniques. This also means that you need to handle the SharePoint resources with asyncronous programming. Its very powerful, But that is not what you are asking for.
I would set up an SharePoint 2013 Foundation environment since its free and will very much deliver the capabilities you are after. Keep in mind though that SharePoint is a HUGE system that requires some understanding to be utilized.
I made a blogpost a while back where i Installed Win Server 2012 R2 on a external disk, this example works with SharePoint if you just want to debug your project on a SharePoint server. Check it out here: http://bayerlein.se/install-windows-server-on-external-hdd-with-the-help-of-virtual-box/
This solution will of course also require that you install your development program in the same environment.
Good luck//Kodz
It really depends upon what you want to do. Do you need to create a provider hosted app with MVC for SharePoint 2013? In that case, you might succeed with including the necessary references and tooling code (but you still might lack the app manifest project). Technically your project won't run on SharePoint but uses the SharePoint API.
If you need to create an SharePoint solution package, you need a SharePoint development install (and as SharePoint doesn't install on all client OS, your best way is going virtual with a SharePoint development VM). Keep in mind that developing solution packages is a different kind of trade than developing for MVC, so start with a Pluralsite course or some other kind of training.
I think you can create a SharePoint app. You can use VS2015 with SP online so that you don't need to install SP locally. Create a trial o365 account and enable developer site on it. You can deploy your app on the developer site then. If you have developer site from you client instead of using sp online you can use that too.
Once your app works you can create package to deploy on the SharePoint environment.
I think right now, the best way for you would be signing up as Microsoft Office 365 Developer and having a trial of the 365 cloud where you can setup sharepoint 2013 site collection and also develop apps using their tool NAPA.
These days they are calling apps "SharePoint Add-ins"
NAPA and SharePoint Add-ins
I would also suggest you take a look at this article:
SharePoint 2013 Developing Apps vs. Solutions

how to Create Setup of Web application in asp.net?

How to Create Web Application Set up in asp.net ?
I have a web site in a Visual studio.I want to create a single web setup project which should install the web site.So how to create a single web setup project which supports multiple web application installation?
You can use Installshield to do that. When you go to add new project you will see that option under Other Project Types --> Setup and Deployment
http://learn.flexerasoftware.com/content/IS-EVAL-InstallShield-Limited-Edition-Visual-Studio?lang=1033&ver=prem
There are many 3rd party tools that can perform this for you (We use Anthill Pro to deploy between our various environments).
I've used the full version of InstallShield in the past but there was a bit of a learning curve to get it right.
The free alternative is to use the Web Setup Project template in Visual Studio (This uses the 'lite' version of InstallShield I believe). You can also check out this link, which describes many different options for you to deploy your website. Extract from the last link:
Visual Studio, ASP.NET, and IIS provide tools that can help you with
the process of deploying your web application or web site. Some of the
Visual Studio tools work only with web application projects, while
others work only with web site projects. (All MVC projects are web
application projects.)
Hopefully this walkthrough should provide you a good starting point should you choose to go down the Visual Studio route.

Can I host asp.net website?

If I develop a website in asp.net using visual studio trial version & I have my existing domain which supports asp.net hosting. Do i need to purchase a license copy of .net framework or visual studio in order to lunch my website?
Nope. You already have everything you need to launch the site.
The .NET Runtime doesn't require you to purchase anything. If the hosting provider has it installed on the server and offers ASP.NET hosting...you're good to go on that front.
The trial version of Visual Studio also doesn't limit you in this sense. You could've written your ASP.NET code with Notepad and compiled with the .NET SDK that Microsoft distributes freely. It's all the same when it gets served up.
The .NET framework does not require you to buy a license - it is free to download and install, and chances are that your host already has it setup.
As for Visual Studio, it is a development environment - you do not need to install it on the web server.
Once you have developed your site, you can use the built in Visual Studio publishing in order to push the site to your host.
All you need to do is publish the site then configure the site in IIS.

Installer App Asp.net 4.0 Cassini SQL Express

We have built an ASP.NET application in 4.0 (we can change it to 3.5 if necessary) with a SQL Server database.
I am looking to create an installation package (exe or msi) so that I can provide this file to my clients and they can install it on all of their laptops. This asp.net application will be running on laptops that don't have access to the internet.
Some of these laptops have XP Home, Win 7 Home, and other windows operating systems and not all of them have IIS installed. Is there some sort of simple application that I can use to create an Installer application where it will install IIS or some other web server, SQL Express, and .NET framework 4.0. If these applications are installed already, then it shouldn't install it. Any suggestions?
Thanks!
You could accomplish this using a Setup Project in Visual Studio.
I know about Web Deployment Packages. See if that helps in some way.
Check this extensive list of useful links:
Overview Post for Web Deployment in VS 2010
My company (Comet Way) makes a product that is designed for this: http://www.neokernel.com. Our customers use it when they need to access web databases offline on laptops. It's an assembly that you can distribute with your product without requiring a separate install, it works on any machine with .NET (or Mono), and it implements a full featured secure web server that runs any website that IIS will run.
Hope this helps,
Damien

Resources