.net tag

160 questions


2 answers
149 views
0
Want to pass parameters to WPF user control validation logic

Creating user controls in WPF (.NET 4.5/C#).A text box extension that also implements input validation.We would like to pass parameters to this validation logic in the following ways:<local:UserCon...

2 years ago

1 answers
97 views
0
I want to set policy permissions on asp.net core per Post, not per PageModel

I'm sorry if there's anything wrong with the question.https://docs.microsoft.com/ja-jp/aspnet/core/security/authorization/policies?view=aspnetcore-2.2As you can see in , [Authorize (Policy=AtLeast 21)...

2 years ago

1 answers
95 views
0
How to Pass Multiple ViewData.Models to View in C#MVC4

If I use multiple models to view the view, how do I pass it over?public ActionResult Index() { using(var context=new testDBEntities()) { // First Model ViewData.Model=(from u in context.test1data)...

2 years ago

1 answers
100 views
0
Upload multiple ASP.NET CURL binary data

ASP.NET MVCC#Inheriting apiController to create WebAPI.Previously, during development, one type of binary data was included in the requested body for POST.curl --data-binary@filenamecontroller post (b...

2 years ago

1 answers
83 views
0
I want to set content and script for each area in ASP.NET MVC.

Developed in ASP.NET MVC5 (Visual Studio 2013 Update 4) environment.Content (e.g., css) and Script (e.g., Javascript) usually create and expand folders directly under the project.Is it possible to pla...

2 years ago

1 answers
89 views
0
About ASP.NET Web Custom Controls

When using the ASP.NET Web Custom Control, in the ASPX file:We have added a description.'<%@Register tagprefix=tagprefix name namespace=namespace name assembly=ASSEMBLY name%>' Is it possible to...

2 years ago

2 answers
81 views
0
I want to catch an error on a different form.

The structure may be a little difficult to understand, but I will let you know the current situation.STEP1: Call Form 1 from Class 1 (The Form 1 argument is defined on the interface and passes the cla...

2 years ago

1 answers
124 views
0
Turn on and off the front clip of the view in IJCAD 2018

I am developing using VB.NET at IJCAD 2018.With the source code below, I created a function to turn on and off the front clip and set the clip distance for the current view, but there is no error when...

2 years ago

1 answers
78 views
0
IJCAD .Net Cannot Focus on Active Window

I am developing using .Net at IJCAD 2015.I want to set the focus to the active document, but I can't find a method that seems to be the case.AutoCAD 2014 can be implemented in Document.Window.Focus(),...

2 years ago

2 answers
104 views
0
How to create an API while using the ASP.NET form application

For some reason, we are developing it with ASP.NET form application instead of MVC5.However, I would like to create an API that does not have a form page in this project.Is there a way?

2 years ago
« - 7 - »

© 2024 OneMinuteCode. All rights reserved.