-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
119 changed files
with
60 additions
and
30,527 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,29 @@ | ||
# bare-webapp | ||
|
||
[![](https://raw.githubusercontent.com/ServiceStack/Assets/master/csharp-templates/bare-webapp.png)](http://bare-webapp.web-templates.io) | ||
A basic Bootstrap + jQuery multi-page Content Website with dynamic Menu Navigation + dynamic API pages | ||
|
||
> Browse [source code](https://github.com/NetCoreTemplates/bare-webapp), view live demo [bare-webapp.web-templates.io](http://bare-webapp.web-templates.io) and install with [dotnet-new](https://docs.servicestack.net/dotnet-new): | ||
[![](https://raw.githubusercontent.com/NetCoreApps/TemplatePages/master/src/wwwroot/assets/img/screenshots/bare.png)](http://bare.web-app.io) | ||
|
||
$ npm install -g @servicestack/cli | ||
## Install | ||
|
||
Run as a .NET Core Web App (Windows, macOS, Linux): | ||
|
||
$ dotnet tool install -g web | ||
|
||
$ dotnet-new bare-webapp ProjectName | ||
$ cd ProjectName | ||
$ web | ||
|
||
# .NET Core 2.1 Bare WebApp | ||
Run as a Desktop App (Windows only): | ||
|
||
The `/app` folder contains the Rockwind Web App project. | ||
$ dotnet tool install -g app | ||
|
||
The `/web` folder contains the [Web Apps binaries](https://github.com/NetCoreWebApps/Web). | ||
$ dotnet-new bare-webapp ProjectName | ||
$ cd ProjectName | ||
$ app | ||
|
||
To run in VS Code type `Ctrl+Shift+B` to run the configured `build` task, otherwise in terminal run: | ||
> Requires [.NET Core 2.1](https://www.microsoft.com/net/download/dotnet-core/2.1). | ||
$ dotnet web/app.dll ../app/web.settings | ||
## Learn | ||
|
||
See [templates.servicestack.net/docs/web-apps](http://templates.servicestack.net/docs/web-apps) for more info on ServiceStack Web Apps. | ||
See [templates.servicestack.net/docs/web-apps](http://templates.servicestack.net/docs/web-apps) to learn about ServiceStack .NET Core 2.1 Web Apps. |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
debug true | ||
name Bare WebApp |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<!-- | ||
title: Bare WebApp | ||
--> | ||
|
||
<p class="lead"> | ||
Complete with page layout, menu partial and responsive navigation! | ||
</p> | ||
<ul class="list-unstyled"> | ||
<li>Bootstrap v4.1.3</li> | ||
<li>jQuery v3.3.1</li> | ||
</ul> | ||
|
||
<div class="container" style="padding:60px 0 0 250px"> | ||
<div class="form-group row"> | ||
<label for="host" class="col-sm-2 col-form-label">Name</label> | ||
<div class="col-sm-4"> | ||
<input type="text" class="form-control" id="Name" name="Name" placeholder="Name" value="" autocomplete="off"> | ||
</div> | ||
</div> | ||
<div class="form-group row"> | ||
<label class="col-sm-2 col-form-label"></label> | ||
<div class="col-sm-4"> | ||
<h4 id="result"></h4> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{{#raw appendTo scripts}} | ||
<script> | ||
$('#Name').keyup(function () { | ||
var name = $('#Name').val(); | ||
if (name) { | ||
$.getJSON('/hello', { name }, function (r) { | ||
$('#result').html(r.result); | ||
}); | ||
} else { | ||
$('#result').html(''); | ||
} | ||
}); | ||
</script> | ||
{{/raw}} |
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.