A lightweight, solid starting point for developing ASP.NET MVC and Web API applications in portable SharpDevelop. Great for student learning and small to medium-sized projects!
See the Demo
- Bootstrap 4.6 with bonus Bootswatch themes and Bootbox.js
- EntityFramework.SharpDevelop (SQL Server, now with MS Access MDB support!)
- Dapper / Dapper.Contrib
- EFUtilities.SharpDevelop
- Simple Forms Authentication
- AutoMapper
- FluentValidation
- Image/File Upload
- Email/SMTP
- SimpleLogger
- Hangfire Core/Hangfire.MemoryStorage
- CsvHelper
- SimpleExcelImport
- petite-vue
OpenHtmlToPdf- Simple JWT Authentication
- Swagger/Swashbuckle
- SignalR 1 (ChatDemo)
- No OWIN
- No ASP .NET Identity
Simply Build
and then reload the project, or copy _web.config and rename it to Web.config.
Encountering Build Errors? Could not resolve reference... Could not locate assembly... The underlying connection was closed...
- Option 1: Run (Merge) nugetfix.reg
- Option 2: Run nuget.bat
- Option 3: In SharpDevelop, run Restore packages
- Option 4: Execute this command
nuget restore
-
Click the Project Menu > Project Options
-
In the Web tab, choose [Use IIS Express Web Server]
-
Enter any port number, e.g.,
55353
or higher -
Click the [Create application/virtual directory] button. Done! You can now run/debug the web app.
*** Error indicating duplicate entry of type 'site' with unique key attributes...
-
Right-click, rename, and
Clean
the project. Example: ASPNETWebApp45 -> NewNameOfMyWebApp -
Repeat step 1.
Add a port 443xx
https binding in My Documents\IISExpress\config\applicationhost.config
<bindings>
<binding protocol="http" bindingInformation="*:55353:localhost" />
<binding protocol="https" bindingInformation="*:44353:localhost" />
</bindings>
Download and install IIS Express
You can browse the database using SQL Server Management Studio (SSMS) or portable Database.NET. To enable (LocalDB)\MSSQLLocalDB, install SQL Server Express LocalDB.
Run Rebuild
to generate publish files. See the _publish folder. Make sure to back up App_Data
folder in your production server before zip-deploying your site.
- Somee.com
- Smarterasp.net
- myasp.net
- Azure (Requires a school .edu email address for students, or an ATM/Debit Card)
- Local hosting with Ngrok
Autodeploy your web app to Somee.com. Just create these Secrets (Settings > Secrets) and Variables, and supply your Somee sitename, username and password:
- SOMEE_SITENAME
- SOMEE_USERNAME
- SOMEE_PASSWORD
- See the folder for PPTs
- Entity Framework 6 Code-First Tutorial
- JSON
- ASP.NET Web API
- Do not load the project in Visual Studio
- Do not add Nuget packages that support .NET Standard
- Download here the same project compatible with Visual Studio 2012-2019.