10 | Put content here. 11 |
12 |<%=Html.ActionLink("Silverlight client", "DemoApp") %>
10 |11 | To learn more about ASP.NET MVC visit http://asp.net/mvc. 12 |
13 |
17 |
18 | If you can't, that's fine too.
--------------------------------------------------------------------------------
/src/protogen.site/wwwroot/lib/bootstrap/less/close.less:
--------------------------------------------------------------------------------
1 | //
2 | // Close icons
3 | // --------------------------------------------------
4 |
5 |
6 | .close {
7 | float: right;
8 | font-size: (@font-size-base * 1.5);
9 | font-weight: @close-font-weight;
10 | line-height: 1;
11 | color: @close-color;
12 | text-shadow: @close-text-shadow;
13 | .opacity(.2);
14 |
15 | &:hover,
16 | &:focus {
17 | color: @close-color;
18 | text-decoration: none;
19 | cursor: pointer;
20 | .opacity(.5);
21 | }
22 |
23 | // Additional properties for button version
24 | // iOS requires the button element instead of an anchor tag.
25 | // If you want the anchor version, it requires `href="#"`.
26 | // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
27 | button& {
28 | padding: 0;
29 | cursor: pointer;
30 | background: transparent;
31 | border: 0;
32 | -webkit-appearance: none;
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/Licence.txt:
--------------------------------------------------------------------------------
1 | https://github.com/mgravell/protobuf-net.git
2 | The core Protocol Buffers technology is provided courtesy of Google.
3 | At the time of writing, this is released under the BSD license.
4 | Full details can be found here:
5 |
6 | http://code.google.com/p/protobuf/
7 |
8 |
9 | This .NET implementation is Copyright 2008 Marc Gravell
10 |
11 | Licensed under the Apache License, Version 2.0 (the "License");
12 | you may not use this file except in compliance with the License.
13 | You may obtain a copy of the License at
14 |
15 | http://www.apache.org/licenses/LICENSE-2.0
16 |
17 | Unless required by applicable law or agreed to in writing, software
18 | distributed under the License is distributed on an "AS IS" BASIS,
19 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 | See the License for the specific language governing permissions and
21 | limitations under the License.
22 |
--------------------------------------------------------------------------------
/assorted/demo-rpc-server-mvc/Helpers/ProtoController.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Web.Mvc;
3 | using ProtoBuf.ServiceModel.Server;
4 | using System.Web;
5 |
6 | namespace Protobuf.Web.Mvc
7 | {
8 | public abstract class ProtoController : ServerBase, IController
9 | {
10 | protected ProtoController()
11 | {
12 |
13 | }
14 |
15 | public void Execute(System.Web.Routing.RequestContext requestContext)
16 | {
17 | string action = (string)requestContext.RouteData.Values["action"];
18 | string service = (string)requestContext.RouteData.Values["service"];
19 |
20 | HttpContextBase ctx = requestContext.HttpContext;
21 | Execute(service, action,
22 | ctx.Request.Headers,
23 | ctx.Request.InputStream,
24 | ctx.Response.OutputStream,
25 | ctx);
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/src/protogen.site/wwwroot/lib/bootstrap/less/thumbnails.less:
--------------------------------------------------------------------------------
1 | //
2 | // Thumbnails
3 | // --------------------------------------------------
4 |
5 |
6 | // Mixin and adjust the regular image class
7 | .thumbnail {
8 | display: block;
9 | padding: @thumbnail-padding;
10 | margin-bottom: @line-height-computed;
11 | line-height: @line-height-base;
12 | background-color: @thumbnail-bg;
13 | border: 1px solid @thumbnail-border;
14 | border-radius: @thumbnail-border-radius;
15 | .transition(border .2s ease-in-out);
16 |
17 | > img,
18 | a > img {
19 | &:extend(.img-responsive);
20 | margin-left: auto;
21 | margin-right: auto;
22 | }
23 |
24 | // Add a hover state for linked versions only
25 | a&:hover,
26 | a&:focus,
27 | a&.active {
28 | border-color: @link-color;
29 | }
30 |
31 | // Image captions
32 | .caption {
33 | padding: @thumbnail-caption-padding;
34 | color: @thumbnail-caption-color;
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/Protobuf/protobuf-net/PrefixStyle.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace ProtoBuf
3 | {
4 | ///