How to test a method in an existing application?
There is a large application with 6 projects and 20 references. It cannot be run as a standalone application. The question here is about invoking one specific method in one part of code that happens with a mouse click of the app in use. The code was…
How can I force a value to be displayed outside my model?
So it doesn't seem so complex, I'll give you a simple example of what I want: string statusString = status 2; return View(myData.where(x => x.status == statusString) in sight it will be something of this kind: @foreach (var item in Model) { …
MSAL on Xamarin Native - OnActivityResult is Never Called, Causing App to Hang on BrowserTabActivity
First and foremost this is Xamarin Native, not Xamarin Forms. In the "SplashActivity" which is set as the MainLauncher=true, I have an async function which calls the AcquireInteractiveToken function. The Browser opens properly, user can…
Xamarin Forms setting platform specific properties
Hi, I've custom WebView rendered in Android. Is it possible to somehow set following properties? android:fillViewport="true" <WebView android:layout_width="match_parent" android:layout_height="wrap_content"/>
Improper neutralization of special elements used in an SQLCOMMAND('sql injection')
Hello everyone, Please help with this SQL Injection flaw of veracode and refer to below code. Recommendations: Avoid dynamically constructing SQL queries. Instead, use parameterized prepared statements to prevent the database from interpreting the…
Improper neutralization of special elements used in an SQLCOMMAND('sql injection')
Hello everyone, Please help with this SQL Injection flaw of veracode and refer to below code. Recommendations: Avoid dynamically constructing SQL queries. Instead, use parameterized prepared statements to prevent the database from interpreting the…
Video File chunks Parallelly upload to server while recording a screen in Windows Application
HI, I have an application for recording the current screen in windows. Which is developed in wpf. My requirement is to record the screen and split up the video file into different chunks and upload to server. All these actions should be done in…
How to hidden all Tabs in TabbedPage?
Now I want to hidden all Tabs in TabbedPage on Android. It should hidden UI only and still working. I try research on google already, but it cannot solve my issues. If have someone know how to hide that, please tell me how to do. …
How to split Grid 2x5 and display same pattern in XAML
I have a grid and want to display 2x5 child grid in XAML. I made main grid and defined 2 raws and 5 columns. I'd like to display information(Chart#, Patient Name, Phone# and Type) in each cell. Can I make a Style and use it from each cells?
Tooltip Security Concerns
Hi, I have a requirement to show the tool tip with RegEx as text. for Example : First Name Text box has text as : A-Za-z0-9&$. What's the best way to show these tool tips and why? The below are the options. Display it on the hover of the TextBox Or…
How would i be able to validate my model based on the parameters outlined in UserIdentity password
Hello, I was following an identity tutorial, and I was wondering how would I be able to validate my password creation against the default parameters outlined in IdentityOptions without using a regular expression by manually defining these…
Asp.net Repeater with Gridview
I have a Repeater Control, and within the Repeater, I have a bunch of text boxes and a GridView. I have a button in the Gridview and when the user clicks on the button, I want to read what is in 1 of the textboxes. I can loop through the textbox items as…
Razor page Tutorial is not work designs are changed and the attribute button is gone
razor-pages-start I'm following the ASP.NET Core tutorial webapp Razor page but I didn't really touch the design or the button part. Why is the UI I made in the tutorial different from the UI I made? Symptom The symptoms of the…
Prevent Xamarin.Form Editor from expanding past our of view
I have a Editor in a Horizontal StackLayout. The Editor is set to AutoSize with HorizontalOptions set to FillAndExpand When the text gets to long for the page it just grows past the edge of the page. But I need it to wrap . It works if the…
How to setup Configuration in Class file?
I would like to move these two "secrets" to secrets.json @inject IConfiguration config does not work. using System; using System.Collections.Generic; using System.Linq; using System.Web; using Microsoft.Extensions.Configuration; ///…
Bind and Delimit a stringarray property value in web control and Update content
I would like to be able to bind and convert a stringarray value property into a list for output in web control like gridview bound to datasource like SqlDatasource and able to perform tasks like add string value,update a string value and delete string…
WCF POST request, GET request, test app server and client as desktop application
Hello, public class FoodAnswer { public bool Result { get; set; } public string ErrorCode { get; set; } public string ErrorMessage { get; set; } } public class FoodOrder { public bool Payed { get; set; } public…
DpiDecorator cause blurry text in my WPF application?
Hi there, I developing a WPF application where I use a Dpi Decorator class to adjust my WPF application according to any screen size. All of my application are perfectly working in any resolution except the text written on it. The text are became blurry…
Turning off part of long running Entity Framework query conditionally
In my Asp.Net Web Api project, there's a GET method to fetch all processes. Process in my app is an entity to log various maintenence activities, it has many properties, e.g. beginning and end. Each processes can be handled by many users and so single…
Select query does not work when column name has parenthesis in excel sheet
Hi, I am trying to fill the data of an excel sheet in a data table by using select query. When the sheet has parenthesis or any other special characters in its column names, I replace each one with "#" but execution results in error. …