In web application , How secure is local storage in Html5 or else is there any other way to secure the sensitive data in local storage.  Project Structure:  Front End: Html5,Angular js, Middletier: Asp.net webApi , BackEnd :Sql Server.  Once user log...
I have written a website that utilizes a SHA-256 hash to validate a user's password. This is a relatively unsecure setup to start with, as most users will have the same username/password. To try and protect it at least a little bit, I do the foll...
There are lots of question like my question but I didn't any working solution.  I am using AngularJS and WebApi2 in my application.  Here is the JS code which call the initial API.  (function (module) { var baseUrl= "http://localhost:85";...
I am trying to call an endpoint with post method.  The code is:  import React, { Component } from 'react'; import { Input} from 'antd'; import Form from '../../components/uielements/form'; import Button from '../../compone...
I have the following controller:   public class ValuesController : ApiController {     // POST api/values     public IHttpActionResult Post(string filterName)     {         return new JsonResult<string>(filterName, new JsonSerializerSettings(),...
I've followed some fairly basic tutorials to set up a basic Web Api service and a React TS app to consume this, but when my react component calls the WebApi service, I can see the Web Api gets stepped into and returns the data - as it does if I e...
Problem: When My filter method is executing that is used to display an Html element, my observable array has not been populated yet by my web-api call resulting in nothing to filter from.   My Solution :  If I place an alert right before my filter me...
Hey all I have this web service that I am trying to send some JSON to:  $.ajax({       type: "POST",       crossDomain: true,       dataType: 'json',       contentType: 'application/json; charset=utf-8',       cache: false,...
Using Identity with WEB API i have created some users that are saved in SQL database. I have added custom property (ShippingAddress) to the already default properties that come with the User table created with Identity.  When i create the user i put...
I have an SPA that authenticates a user, by using msal.js, against an app registrered at the Application Registration Portal. It successfully retrieves a token and everything is fine so far.  Then I have a ASP.NET Web API setup that should use the to...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.