Skip to content

Commit

Permalink
Convert to use new app/web tool
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Sep 13, 2018
1 parent 35ca771 commit e485563
Show file tree
Hide file tree
Showing 119 changed files with 60 additions and 30,527 deletions.
26 changes: 17 additions & 9 deletions README.md
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.
2 changes: 2 additions & 0 deletions app.settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
debug true
name Bare WebApp
39 changes: 0 additions & 39 deletions app/index.html

This file was deleted.

4 changes: 0 additions & 4 deletions app/web.settings

This file was deleted.

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.
41 changes: 41 additions & 0 deletions index.html
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 removed web/AWSSDK.Core.dll
Binary file not shown.
Binary file removed web/AWSSDK.DynamoDBv2.dll
Binary file not shown.
Binary file removed web/AWSSDK.S3.dll
Binary file not shown.
Binary file removed web/AWSSDK.SQS.dll
Binary file not shown.
Binary file removed web/Google.Protobuf.dll
Binary file not shown.
Binary file removed web/Markdig.dll
Binary file not shown.
Binary file removed web/Microsoft.Azure.Amqp.dll
Binary file not shown.
Binary file removed web/Microsoft.Azure.Management.ServiceBus.dll
Binary file not shown.
Binary file removed web/Microsoft.Azure.ServiceBus.dll
Binary file not shown.
Binary file removed web/Microsoft.Azure.Services.AppAuthentication.dll
Binary file not shown.
Binary file removed web/Microsoft.Data.Sqlite.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed web/Microsoft.IdentityModel.Logging.dll
Binary file not shown.
Binary file removed web/Microsoft.IdentityModel.Tokens.dll
Binary file not shown.
Binary file removed web/Microsoft.Rest.ClientRuntime.Azure.dll
Binary file not shown.
Binary file removed web/Microsoft.Rest.ClientRuntime.dll
Binary file not shown.
Binary file removed web/Microsoft.WindowsAzure.Storage.dll
Binary file not shown.
Binary file removed web/MySql.Data.dll
Binary file not shown.
Binary file removed web/Npgsql.dll
Binary file not shown.
7 changes: 0 additions & 7 deletions web/NuGet.Config

This file was deleted.

Binary file removed web/SQLitePCLRaw.batteries_green.dll
Binary file not shown.
Binary file removed web/SQLitePCLRaw.batteries_v2.dll
Binary file not shown.
Binary file removed web/SQLitePCLRaw.core.dll
Binary file not shown.
Binary file removed web/SQLitePCLRaw.provider.e_sqlite3.dll
Binary file not shown.
Binary file removed web/ServiceStack.Api.OpenApi.dll
Binary file not shown.
Binary file removed web/ServiceStack.Api.OpenApi.pdb
Binary file not shown.
394 changes: 0 additions & 394 deletions web/ServiceStack.Api.OpenApi.xml

This file was deleted.

Binary file removed web/ServiceStack.Aws.dll
Binary file not shown.
Binary file removed web/ServiceStack.Aws.pdb
Binary file not shown.
Loading

0 comments on commit e485563

Please sign in to comment.