Gradient RegEx Fractal Index and length Error FIXED
C# Forums
by Boleeman
4d ago
Hi All. I have converted a Gradient RegEx Fractal code from Java to CSharp in which you type in a RegEx string like 1*2*0 and it creates a fancy gradient pattern, saved to a png file. It used a nuget package called Fare which implements dk.briks.automation. The Java version was originally here: GitHub - SSODelta/GradientRegexImages: Creating pretty images from regular expressions using edit distance and the Fare nuget for CSharp is here: GitHub - moodmosaic/Fare: Port of Java dk.brics.automaton and xeger, mostly used for generating strings that match a specific regular expression. Port of ..read more
Visit website
Gradient RegEx Fractal Index and length Error
C# Forums
by Boleeman
5d ago
Hi All. I have converted a Gradient RegEx Fractal code from Java to CSharp in which you type in a RegEx string like 1*2*0 and it creates a fancy gradient pattern, saved to a png file. It used a nuget package called Fare which implements dk.briks.automation. The Java version was originally here: GitHub - SSODelta/GradientRegexImages: Creating pretty images from regular expressions using edit distance and the Fare nuget for CSharp is here: GitHub - moodmosaic/Fare: Port of Java dk.brics.automaton and xeger, mostly used for generating strings that match a specific regular expression. Port of ..read more
Visit website
Sandboxing/isolating C# scripting?
C# Forums
by Strech
6d ago
Can an app running user-supplied C# code (i.e Microsoft.CodeAnalysis.CSharp.Scripting) ever truly be protected from the script being executed? Use case might be - app supplies an object with a payload that the script can interact with and modify and then the app does further processing on the object returned by the script. With no measures in place a malicious script could for example introduce reflection and start doing things outside of what the app intends. There's standard measures like... Read more ..read more
Visit website
MS Edge browser file browse and upload button
C# Forums
by jellybean
1w ago
Hi everyone, newbie here please be gentle! We are using .Net Core with Razor pages in an MS Edge browser. I have been tasked with implementing a browse button that will allow users to upload a file (excel or CSV) from their PCs to be processed by the system. Also, we have to make a copy of the file and place on a fileshare for archiving purposes. I know Edge has additional security properties that may be tricky. So just wondering any advice/suggestions/best approached would be most... Read more ..read more
Visit website
Stored Procedure doesn't appear to be returning the Returned value to C#
C# Forums
by tim8w
1w ago
So I have a StoredProcedure that either Updates or Inserts a record. The SP is as follows: Stored Procedure: USE [FPY] GO /****** Object: StoredProcedure [dbo].[insupd_tblMRBHistory_AB] Script Date: 2025-01-10 8:02:00 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[insupd_tblMRBHistory_AB] (@BusinessUnit char(30) ,@PartNum char(25) ,@Description varchar(50) ,@Category char(4) ,@LotNum char(25) ,@LocationID int ,@StockMRB int... Read more ..read more
Visit website
What am I doing wrong with StateHasChanged
C# Forums
by JohnF
1w ago
Folks: I am gearing up for a project now in Proof of Concept stage. My specific issue is I have a component. It is simply a box. It is three deep from page so Page -> Major Component -> The Status Box in question. This is going to be a monitoring app. So - little to no user interaction. Changes come from the outside. (Like a fantasy football scoreboard.) UI change needs to occur based on events outside the application - identified by non-UI server side code. My current task is... Read more ..read more
Visit website
Help with a task
C# Forums
by Tatycoco
1w ago
Hello, just started learning C# at my univeristy, im sorry if this aint the best place to post this kind of things. I need help with a task . I missed one lesson and i can't do this. I've been racking my brain so hard, and i can't figure it out. Thank you ..read more
Visit website
Console programs yes. GUI programs no?
C# Forums
by 357mag
1w ago
All of my console programs were made in Visual Studio 2015. I know I can just open the source code file in Notepad and copy it, and then paste it in the window of a Visual Studio 2019 project. Save it. Build it. And it will run just fine. But what about Windows programs? GUI programs in other words. I would imagine a GUI program generates more types of files that would need to be imported into Visual Studio 2019. So that would not work would it? I would have to just make the GUI program... Read more ..read more
Visit website
ORA-50201 - Error to try connect Visual Studio to an Oracle database with SSL
C# Forums
by exll
1w ago
I tried to connect to an Oracle database in Visual Studio, I installed Oracle Developer Tools for Visual Studio 2022 and tried to connect in Tools > Connect to Database..., I chose Oracle Database and in Data Provider ODP.NET, Managed Driver. I filled in all the fields, but I got the error ORA-50201 ..read more
Visit website
Foreach with generic list class
C# Forums
by aronmatthew
1w ago
Does anyone have a List Enumerator example for generic list class. One that inherits from IEnumerator. Such that foreach can be used for generic list class ..read more
Visit website

Follow C# Forums on FeedSpot

Continue with Google
Continue with Apple
OR