Questions tagged as 'asp.net'

1
answer

Token Provider Asp.Net WebAPI

In the company I work with we do authentication and authorization via Bearer Token in an asp.net webapi app, however I keep some information about user permissions with Claims ... and this makes the Token look huge. I found a way to generate...
asked by 21.02.2017 / 14:04
1
answer

How to save Image to a specific folder?

I have the following code: protected void btnSalvarDestaque_Click(object sender, EventArgs e) { if (fuFotos.HasFile) { string strname = fuFotos.FileName; fuFotos.PostedFile.SaveAs(Server.MapPath(".") + "//Content/Destaq...
asked by 28.09.2016 / 04:31
1
answer

Dynamic Image Gallery ASP.Net C #

I have the following code,  It loads the photos in that placeholder. ID="phPhotos" > public partial class ImovelDetalhe : System.Web.UI.Page { private ImovelBo _imovelBo; protected void Page_Load(object sender, EventAr...
asked by 17.08.2016 / 21:21
1
answer

Report ASP.NET with Windows Forms

The problem is the following, I work with SAT-CFe and the communication with this is done via USB, which makes it impossible for my web system to communicate directly with it. What I did, I created a desktop application that does this communi...
asked by 30.09.2016 / 21:05
1
answer

How to create a chart in ASP.Net

I'm trying to create a chart with my network usage history in my company. I've never created a chart before in Asp.Net, so I really do not know how to get started, and the examples I found on the internet using Microsoft Chart Control were not e...
asked by 26.03.2016 / 13:23
1
answer

Uploading images in asp net core 1.0

I'm new to .NET, I learned in a course in asp net mvc 5 so I would need to take that upload code and transform it to asp net core if I can help. I'm grateful. [HttpPost] [ValidateAntiForgeryToken] public ActionResult Create([Bind(Inclu...
asked by 04.03.2017 / 02:25
1
answer

Select (HTML) with multiple selection. Marco one and should mark all, not working

I have this select with multiple select <tr> <td width="10%" class="label_right">Autorização Prévia: &nbsp;</td> <td class="label_left">...
asked by 19.01.2016 / 18:49
1
answer

What is the correct way to legitimize a given user through Identity with web service Soap?

Initially I tried to add snippets that are related to identity and I used the Find method with password and login, but I did not succeed. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Ser...
asked by 11.12.2015 / 20:46
1
answer

Javascript function does not execute PageMethod

I'm calling a PageMethod in a Javascript function, however it goes straight to the end by not getting into my C # function. Here is the code below: <script type="text/javascript"> function enviar() { if (document.getElementBy...
asked by 13.11.2015 / 00:29
2
answers

Error: "connection rejected by remote interface" using Firebird 3 in .Net

I have an application in asp.net, which currently uses firebird 2.5.1 and works normally. I am testing version 3.0 Release Candidate for migrate the version soon, but does not open the connection, the following occurs: error:    "connection r...
asked by 16.12.2015 / 13:14