ASP.NET Core 5 Web API Uploading Files
I am trying to work through uploading files with .Net 5 Web API and Blazor and struggling immensely with getting this implemented.From everything I've gathered online, I have to have an upload control,...
View ArticleVisualCron Job Completed Triggers
I am working with VisualCron (12.1.2) and trying to setup a job that runs any time one of our existing jobs (200+) completes so we can try to get some stats on it and have better error handling. Better...
View ArticleAnswer by Scott Salyer for Why does my ASP.NET Core 5 Razor Page return a 404...
The Build Action on the .cshtml page was set to None instead of Content - how it worked in VS I'm not sure I understand, but at least it's solved now.
View ArticleWhy does my ASP.NET Core 5 Razor Page return a 404 on IIS, but not in Visual...
We have an app built on .NET Core 5 that has a very strange issue. 95% of the web app runs perfectly, but there is a single Razor Page that generates a 404 - but only when deployed to the production...
View ArticleAnswer by Scott Salyer for HTTP Error 500.19 - Internal Server Error...
After a lot of trial and error, I finally figured it out! The <rewrite /> section is what it was mad about and I had to install the URL Rewrite Module from Microsoft to get it to work. It...
View ArticleClickOnce Deployment Errors
I am trying to deploy a ClickOnce app. It had worked previously when the server was just sitting with .Net 2.0 installed (no SP). Recently the server had 3.5SP1 installed on it and now ClickOnce is...
View ArticleBlazor Component Javascript Errors (Microsoft.JSInterop.JSException)
I have a pretty basic Javascript function stored in a separate JS file that sets the page title for a new Blazor app that looks like this:window.setTitle = (title, icon) => { //title document.title...
View ArticleiFrame Automatic Sizing
Before the "beating a dead horse" comments begin, let me clarify what I am trying to do to see if someone can help me.I have a parent window with an iFrame in it. The content in the iFrame is loaded...
View ArticleConstraintLayout Adding Margin to Top
I am working with an Android app that I inherited (plus I'm fairly new to Android dev) and running into a strange issue with a ConstraintLayout that is used inside a RecyclerView. Everything functions...
View ArticleDoes C# Support Project-Wide Default Namespace Imports Like VB.NET?
I am a recently converted VB developer to C#, but there is one thing thus far that I haven't been able to find. In VB when I setup a new project I can specify the namespaces used in the project and add...
View ArticleAnswer by Scott Salyer for Global Exception Handling with .NET Core 7
It took some creative digging (thanks to the numerous tips posted), but I finally tracked down what was going on! The relevant code plays into app.UseEndpoints - for whatever reason, adding your...
View ArticleLaravel Nova Card Options Missing Function
I was recently given a Laravel app that uses Nova and Vue in it - all three of which I've never worked with before, so apologies in advance if I ask something that should be obvious. Inside the app...
View ArticleAnswer by Scott Salyer for .NET 7 Distributed Transactions issues
For anyone who uses multiple nested TransactionScope instances that can be scattered across multiple business classes, I came up with a simple class that lets you keep a similar approach, but enables...
View ArticleAnswer by Scott Salyer for Type Load Exception in EF Core Project
This one nailed me too with EF 7. If you're utilizing lazy loading, make sure to have the Microsoft.EntityFrameworkCore.Proxies packaged referenced as well.
View ArticleAndroid MaterialButtonGroup Style Change
I am in the process of building my first Android app and am running into an issue that should seemingly be very simple, but I'm at a loss on why it won't work. I am trying to use a MaterialButtonGroup...
View ArticleAnswer by Scott Salyer for Android MaterialButtonGroup Style Change
After reviewing some additional details, I ended up solving the immediate problem by using setTextAppearance and setBackgroundColor since those are all I was really trying to change anyway. End result...
View ArticleAndroid MultiLine Text Wrapping
I am in the process of building my first Android app and running into a weird problem where text wrapping doesn't seem to work as one would expect. The XML layout is a RelativeLayout because it's a...
View ArticleZebra DataWedge Intents with GS-128
I am beginning to develop an Android app for a Zebra MC9300 scanner and running into what I'm guessing is a configuration issue, but being new to both Zebra and Android development, I'm at a bit of a...
View ArticleAnswer by Scott Salyer for Zebra DataWedge Intents with GS-128
After going back and forth with our sales rep and one of their engineers, it turns out the reason this wasn't working is because of a bug within Zebra's DataWedge platform - it's supposed to...
View ArticleAnswer by Scott Salyer for Razor Pages (dotnet core) - 404
Well that was quick. A friend looked at it and realized the Build Type on the cshtml page was set to None instead of Content - how it worked in VS I'm not sure I understand, but at least it's solved now.
View Article