tagged [servicestack-razor]

ServiceStack default Razor view with service

ServiceStack default Razor view with service I want to host a very simple razor page inside a self host SS app. I need the / path to resolve to the default.cshtml - this works out of the box. But i ne...

5 Oct at 09:14

Servicestack: GlobalHtmlErrorHttpHandler

Servicestack: GlobalHtmlErrorHttpHandler I have a global html error handler setup like this: ``` public override void Configure(Container container) { //... this.GlobalHtmlErrorHttpHandler = new R...

29 Mar at 19:26

Structure for combined ServiceStack services and website

Structure for combined ServiceStack services and website With Razor support, ServiceStack is a complete framework for creating both REST-services and websites. When making Not unnecessarily complex, b...

Creating Google Sign In Authentication in Service Stack

Creating Google Sign In Authentication in Service Stack I know Service Stack offers a plugin to incorporate google sign in but we are on old version of service stack so we are creating the flow oursel...

8 Apr at 16:14

HtmlHelper extension to wrap around content for ServiceStack Markdown Razor

HtmlHelper extension to wrap around content for ServiceStack Markdown Razor Using [ServiceStack Markdown Razor](https://github.com/ServiceStack/ServiceStack/wiki/Markdown-Razor), how can I create an H...

23 May at 10:24

How does ServiceStack recognise the newly added folder?

How does ServiceStack recognise the newly added folder? In my app, I am dropping a new folder and a set of files into my directory whenever a new hosting client has been created using code: the folder...

14 Oct at 05:41

ServiceStack InMemoryVirtualPathProvider for Razor - GetViewPage null

ServiceStack InMemoryVirtualPathProvider for Razor - GetViewPage null I tested this with the default out of the box implementation and GetViewPage retrieves the view from the file system without a pro...

20 Apr at 13:48

ServiceStack 4: not able to add Expires Header for static content

ServiceStack 4: not able to add Expires Header for static content In my web.config, I am trying to add caching for static content: ```

Servicestack razor page is getting added to content

Servicestack razor page is getting added to content I am trying to use Servicestack with F#. So, far I am successful. But while trying to pull thing up with asp.net hosting using razor engine. I come ...

ServiceStack.Html Custom Label Extensions

ServiceStack.Html Custom Label Extensions I have been trying to work out how to register a label extension class into a ServiceStack.Html / Razor project. I am using the "Stand-alone, self-hosted Http...

17 Feb at 15:36

Razor - unable to add System.Core to Web.Config

Razor - unable to add System.Core to Web.Config I am using ServiceStack (self hosted) with Razor. I have an issue trying to add System.Core to the namespaces in the web.config file. Specifically, I ge...

29 Dec at 06:1

Why are my ServiceStack.Razor pages not refreshing until I rebuild my app?

Why are my ServiceStack.Razor pages not refreshing until I rebuild my app? I've got an API project hosted in ServiceStack (3.9), and I've added a /docs folder containing two Razor files, `_layout.csht...

ServiceStack Controllerless Razor Views - Return view without executing service

ServiceStack Controllerless Razor Views - Return view without executing service Right now we have a lot of dummy MVC controllers that return simple views with web components (vuejs). I'm trying to ref...

3 Jun at 16:54

Does ServiceStack support POSTs from plain html?

Does ServiceStack support POSTs from plain html? It is basically does, but I have a problems with national symbols in the POST data. They are came corrupted to the Service. I have very basic markup: `...

30 Apr at 02:43

How to use ServiceStack Templates to support dynamic results based on request type?

How to use ServiceStack Templates to support dynamic results based on request type? With [ServiceStack's Razor Story](https://docs.servicestack.net/view-and-template-selection) we have a variety of wa...

28 Mar at 13:31

ServiceStack Razor Views from Multiple Module Directories

ServiceStack Razor Views from Multiple Module Directories I am starting a new project in which the idea is to organize the project file/folder structure in to different modules (.csproj) and finally o...

23 May at 11:46

JavaScript and CSS minifier not working in Servicestack

JavaScript and CSS minifier not working in Servicestack In the latest version of Servicestack, [minifier](https://github.com/ServiceStack/ServiceStack/wiki/HTML%2C-CSS-and-JavaScript-Minification) was...

Servicestack errors building view page

Servicestack errors building view page Im using Servicestack 3.9.59 with Servicestack.Razor as a standalone console program. My Request/Response/Service looks like: ``` namespace Info { [Route("/Ove...

26 Sep at 13:24

ServiceStack Caching Working in VS2012, but not in Xamarin Studio 4.2.3 (build 60)

ServiceStack Caching Working in VS2012, but not in Xamarin Studio 4.2.3 (build 60) My application makes an AJAX call to the route /{Lang}/cook to retrieve an rendered Razor partial. In VS2012 via Cass...

Service Stack + SignalR - Self Hosted

Service Stack + SignalR - Self Hosted I'm building an app that uses ServiceStack for restful api. I'm attempting to integrate SignalR for real time features, as this app will run on the client desktop...

Web Pages issue with azure when servicestack is deployed

Web Pages issue with azure when servicestack is deployed I am trying to deploy Servicestack application to azure website. Application is with asp.net host and razor view engine. [Here](http://services...

Upgrading to latest Servicestack from old Razor version has broken services

Upgrading to latest Servicestack from old Razor version has broken services I have been having an issue with versions of ServiceStack that use the new Razor (any version after 3.9.44). With 3.9.43 all...

20 Jun at 09:12

ServiceStack 4 Razor: no intellisense in Visual Studio 2013 with update 2

ServiceStack 4 Razor: no intellisense in Visual Studio 2013 with update 2 I am running a Asp.Net Host (ServiceStack.Host.AspNet 4.0.30.0) - ServiceStack 4.0.30.0 project with Razor. .Net Framework Tar...

Add custom headers to ViewEngine response pages in ServiceStack

Add custom headers to ViewEngine response pages in ServiceStack I am using [ServiceStack](https://www.servicestack.com) with [SharpPages](https://sharpscript.net/) to render dynamic content. For "reas...

11 Jun at 16:31

ServiceStack not rendering Razor View, only seeing Snap Shot

ServiceStack not rendering Razor View, only seeing Snap Shot I've set up a very basic ServiceStack project with Bootstrap and I'm trying to get it to see my homepage (Razor View) which it doesn't, so ...