Data dodania Pytanie
2017-02-11 12:02 Facebook pixel for registered users »
I'm new with FB pixel and have recently implemented this on my Asp .Net site. I log in with the same FB account that I'm using to collect data for FB...
(0) odpowiedzi
2017-02-10 21:02 How to use a view inside ASP.NET Core custom Tag Helper? »
I have been following this Microsoft article on writing custom Tag Helpers here. Every where i see code where the element markup is hard coded in C# ...
(0) odpowiedzi
2017-02-10 10:02 Switching Between VS Code and VS 2015 »
I am a single developer starting out on an ASP.Net Core MVC project with Angular 2. I used the Steve Sanderson template VS Angular 2 Template which wo...
(0) odpowiedzi
2017-02-09 16:02 Validate two depending dates »
I have two date values, that I need to validate. This validaton is compound: One date needs to be sooner than the other (think StartingDate and Finish...
(2) odpowiedzi
2017-02-09 14:02 How to pass the ID of an object from a form to an action in ASP.NET MVC »
I have an ASP.NET MVC project with entities based on EF6 (model first). So my entities are all auto-generated for me. I have an entity, Site and I jus...
(2) odpowiedzi
2017-02-09 13:02 How to pass authorization token to GET method to access authorized resource? »
I am new to Token Based authentication. With reference to below links, I am trying to understand Token Based authentication. http://bitoftech.net/20...
(1) odpowiedzi
2017-02-09 08:02 Jquery datatable get row id from button click »
I have two buttons rendered on each row in my datatable, Edit and Delete. Is it possible to grab the employee's ID or the Row's ID on the Delete or Ed...
(5) odpowiedzi
2017-02-08 15:02 Asp.Net Core / IdentityServer Complex Authorization »
For the project I am working on, I need to create two separate (but not totally unrelated) applications with a common identity server. I picked Identi...
(1) odpowiedzi
2017-02-07 07:02 Asp.Net Core redirect to action but not allow action to be called directly? »
I have a situation where I want to redirect/show to some url/action when the result is successful but return to view if there was some error. For exa...
(2) odpowiedzi
2017-02-06 19:02 Sending json response using Authentication filter in Web api controller? »
I have an authentication filter in my controller [ArcGISAuthentication] I have defined the filter like below public class ArcGISAuthenticationAtt...
(1) odpowiedzi
2017-02-06 13:02 Web Api interaction between multiple controller endpoints »
I am looking for a bit of constructive advice. I am trying to map how multiple controller endpoints can interact with each other such that I do not en...
(1) odpowiedzi
2017-02-05 14:02 Getting reference of Startup.cs object »
Looking for an answer from a senior level ASP.NET architect who knows inner details of ASP.NET MVC. Here's the skeleton of a standard ASP.NET core ap...
(1) odpowiedzi
2017-02-05 08:02 Asp.Net Core: Use memory cache outside controller »
In ASP.NET Core its very easy to access your memory cache from a controller In your startup you add: public void ConfigureServices(IServiceCollectio...
(1) odpowiedzi
2017-02-04 12:02 How to include reference one .net 4.5 project into .net core project »
I have created two .net projects with two separate solutions. One is console application which is created by .net(c#) 4.5 and the second one is .net c...
(1) odpowiedzi
2017-02-03 15:02 How do I turn off Required validation for a field in MVC when a checkbox is checked? »
This is whats in my model: public CheckBoxListItem Same { get; set; } [Required(ErrorMessage = "* Billing Name field is required")] p...
(0) odpowiedzi
2017-02-03 10:02 .NET Core Razor C# functions »
I'm pretty new to .NET Core (ASP.NET on the whole) and I was wondering if I'm doing anything obviously wrong when trying to create a C# function insid...
(1) odpowiedzi
2017-02-03 09:02 Complement [FromUri] serialization with APIController »
We have multiple API controllers accepting GET requests like so: //FooController public IHttpActionResult Get([FromUri]Foo f); //BarController public...
(1) odpowiedzi
2017-02-02 20:02 Can I use a Tag Helper in a custom Tag Helper that returns html? »
I recently ran into a situation where I would like to use a tag helper within a tag helper. I looked around and couldn't find anyone else trying to do...
(1) odpowiedzi
2017-02-02 20:02 Asp.net core Sakura.AspNetCore.PagedList and partial views »
I've been struggling for far too long with this now, and I think I've finally found where the problem is! I am making a review section in an Asp.Net ...
(1) odpowiedzi
2017-02-02 18:02 Sending an array of json objects to web api, how to format the url? »
I have written asp.net web-api project with following api-s: Controller Method: Uri: GetAllItems: /a...
(2) odpowiedzi
2017-02-02 14:02 Multi-host deployment of ASP.NET Core applications »
I am quite confused as I haven't seen any blogs or instructions on how to host ASP.NET Core/.NET Core applications with HA and multi-host deployments....
(2) odpowiedzi
2017-02-02 11:02 How to post complex object including lists to ASP Web Api 2 »
I am trying to post an complex object wich include several list/arrays of strings, via an jquery ajax call. Only the scalar properties of the object s...
(1) odpowiedzi
2017-02-02 08:02 Any way to run .net core web app without debug mode? »
I am developing a asp.net core web application in visual studio 2015 update 3. Every time i have to check for the update in browser i have to either ...
(2) odpowiedzi
2017-02-01 17:02 RESTful API Naming Resources & Controller design »
Just reading through some RESTful API design best practices. I am coming from an ASP.Net Web Forms background where I have been calling code behind W...
(2) odpowiedzi
2017-02-01 04:02 .NET Core Replacement for ConvertTimeToUtc? »
What happened to ConvertTimeToUtc in .NET Core? I know it's not there anymore, but has it been replaced by anything else? This is how I used to take a...
(1) odpowiedzi
2017-01-31 21:01 Set response status in ASP.NET core middleware »
I have a middleware, which hides exception from client and returns 500 error in case of any exception: public class ExceptionHandlingMiddleware { ...
(1) odpowiedzi
2017-01-31 14:01 How can I load this ASP.NET div after the page has been loaded? »
There is a div on my page currently that makes a lot of requests to the server, so the pages takes about 10 seconds to load. We don't always need this...
(1) odpowiedzi
2017-01-30 09:01 ASP.NET infrastructure in MediatR handlers »
I prefer to keep my handlers free from ASP.NET infrastructure that is very hard to test (yes, even in ASP.NET Core). But sometimes it happens and you ...
(2) odpowiedzi
2017-01-29 07:01 Asp.Net MVC Outputcache in base controller not working »
I am using output cache attribute in asp.net mvc base controller but it is being called every time as it is in OnActionExecuting. Is there any option ...
(2) odpowiedzi
2017-01-28 21:01 How to render input elements inside form elements »
Antaris RazorEngine v3.9.3 is used in ASP.NET MVC4 controller to create form element. In result html input elements are rendered outside form element....
(0) odpowiedzi
2017-01-27 19:01 Create Database Table from Model in .NET Core »
Just started learning .NET Core. I have managed to move Migration folder, ApplicationDbContext and ApplicationUser file to .net core class library pro...
(1) odpowiedzi
2017-01-27 11:01 Read first bytes of body when "Maximum request length exceeded" »
I have a ASP.NET WebAPI application and some of the request exceed the maximum lenght. That's fine, I know I can increase the limit either in IIS or w...
(1) odpowiedzi
2017-01-26 09:01 Order of messages in SingalR - how to ensure it »
I'm using SingalR in an application that sends alot messages in a short period of time. let's say i have client A and client B. Client A just sends me...
(0) odpowiedzi
2017-01-25 16:01 Problems creating .NET Core 1.1 Web Application »
I am having issues creating a .NET Core 1.1 Web Application. I've found postings outlining similar issues other people have had, but they either have ...
(1) odpowiedzi
2017-01-25 09:01 razor dropdown list add the data but show after refresh the page »
@{ HotelManagementEntities db = new HotelManagementEntities(); var list = db.tblCategories.Select(m => new { m.intseqid, m.varCategory}).To...
(3) odpowiedzi