Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for Alexeiâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #286895 |
Post edited: cleanup up the title a little bit |
— | over 2 years ago |
Comment | Post #286884 |
When do you receive the error? Is it a runtime error or a build error? I am wondering if the issue is not related to [the one described here](https://stackoverflow.com/questions/49820069/how-to-change-uwp-app-folder-name-or-path). (more) |
— | over 2 years ago |
Edit | Post #286876 |
Post edited: added relevant tag |
— | over 2 years ago |
Edit | Post #286876 |
Post edited: clarified what programming language we are dealing with |
— | over 2 years ago |
Comment | Post #286813 |
Yes, data-presentation sounds OK. (more) |
— | over 2 years ago |
Edit | Post #286861 |
Post edited: added extra information based on received feedback |
— | over 2 years ago |
Edit | Post #286849 | Nominated for promotion | — | over 2 years ago |
Edit | Post #286861 | Initial revision | — | over 2 years ago |
Question | — |
Renaming GNU/Linux tag to gnu I have noticed that we have several questions tagged with GNU/Linux. I would like to rename this tag to gnu to reflect what seems to be the canonical name and also be consistent with tag naming (all letters are lowercase, avoid slashes). Based on provided answers, I know consider the following ... (more) |
— | over 2 years ago |
Edit | Post #286789 | Nominated for promotion | — | over 2 years ago |
Edit | Post #286835 |
Post edited: added relevant tags |
— | over 2 years ago |
Edit | Post #286817 | Nominated for promotion | — | over 2 years ago |
Edit | Post #286813 | Initial revision | — | over 2 years ago |
Question | — |
Dealing with table tag This question which is tagged with table tag. I am trying to find a better replacement for it since there are multiple types of tables such as HTML tables or data tables. The question seems to refer to a table displayed within a graph (a rendered table), but I am not sure how to tag such a tabl... (more) |
— | over 2 years ago |
Edit | Post #286726 | Nominated for promotion | — | over 2 years ago |
Edit | Post #286764 | Nominated for promotion | — | over 2 years ago |
Edit | Post #286776 | Nominated for promotion | — | over 2 years ago |
Edit | Post #286720 |
Post edited: highlighted the core answer for the question (TL;DR) |
— | over 2 years ago |
Edit | Post #286715 | Initial revision | — | over 2 years ago |
Question | — |
Working with a generic class that uses a type that should be of generic type I have followed Nick Chapsas' tutorial to avoid throwing a ValidationException to treat validation errors and instead rely on `LanguageExt.Common.Result<>` from LanguageExt library. I have managed to develop a working solution that relies on MediatR (which uses queries, commands and validators fo... (more) |
— | over 2 years ago |
Edit | Post #286713 |
Post edited: clarified that the steps were manually performed |
— | over 2 years ago |
Edit | Post #286713 | Initial revision | — | over 2 years ago |
Answer | — |
A: How to migrate NLog configuration from XML file(s) to application settings (JSON)? FreeFormatter resource mentioned in the question is useful and I could use the output as a base for getting to a working configuration. All the changes were manually performed. []()- enable throw configuration exceptions and allow for internal log messages to be output in a file for understanding ... (more) |
— | over 2 years ago |
Edit | Post #286712 | Initial revision | — | over 2 years ago |
Question | — |
How to migrate NLog configuration from XML file(s) to application settings (JSON)? I have just created an ASP.NET Core 6 application and added NLog support for logging: ```c# NLogBuilder.ConfigureNLog("nlog.config").GetCurrentClassLogger() ``` However, this API is almost deprecated as the remarks says: > It is now recommended to use NLog.LogManager.Setup().LoadConfigura... (more) |
— | over 2 years ago |
Edit | Post #286696 | Nominated for promotion | — | over 2 years ago |
Edit | Post #286694 | Initial revision | — | over 2 years ago |
Answer | — |
A: How to generate lots of hyperlinks rather fast using ClosedXML library? One faster alternative is to use a formula to create the hyperlink. An example is provided below: ```c# public static IXLCell SetHyperLink(this IXLCell cell, string url, string text = "link") { if (string.IsNullOrWhiteSpace(url)) return cell; // ensure a valid hyperlink text string a... (more) |
— | over 2 years ago |
Edit | Post #286693 | Initial revision | — | over 2 years ago |
Question | — |
How to generate lots of hyperlinks rather fast using ClosedXML library? I am using ClosedXML library to generate an Excel containing thousands of hyperlinks using cell's `Hyperlink` property: ```c# cell.SetValue(text).Hyperlink = new XLHyperlink(url); ``` Such a call takes about 3ms which seems very fast, but this leads to exports taking up to one minute for larg... (more) |
— | over 2 years ago |
Edit | Post #286634 |
Post edited: fixed the title |
— | almost 3 years ago |
Comment | Post #285148 |
I have rolled back to the last version that includes the code (not sure why the OP decided to remove the code though). (more) |
— | almost 3 years ago |
Edit | Post #285148 |
Post edited: rolled back to a version that contains the code |
— | almost 3 years ago |
Edit | Post #285298 |
Post edited: rollback to previous version |
— | almost 3 years ago |
Comment | Post #286641 |
I have rolled back the question to its initial version and this answer is now obsolete. (more) |
— | almost 3 years ago |
Edit | Post #285218 |
Post edited: rollback to the original content |
— | almost 3 years ago |
Comment | Post #285222 |
I have rolled back the last edit because it removed all the meaningful information in the post. (more) |
— | almost 3 years ago |
Edit | Post #285222 |
Post edited: rollback to a revision that actually contains meaningful information |
— | almost 3 years ago |
Edit | Post #286573 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #286570 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #286578 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #286573 |
Post edited: added relevant tags |
— | almost 3 years ago |
Edit | Post #286568 |
Post edited: not tested |
— | almost 3 years ago |
Edit | Post #286568 |
Post edited: added more info |
— | almost 3 years ago |
Edit | Post #286568 | Initial revision | — | almost 3 years ago |
Answer | — |
A: Order a subcollection from linq If you are using .NET Core 5.0 or more you should be able to write something like the following (not tested): ```c# var data = context.TblOrder .OrderBy(o => o.OrderDate) .Select(o => new { Order = o, OrderLines = o.TblOrderLine.OrderBy(ol => ol.ProductName) ... (more) |
— | almost 3 years ago |
Edit | Post #286550 |
Post edited: added relevant tag |
— | almost 3 years ago |
Comment | Post #286520 |
@#8135n OK. This makes sense. I haven't worked with WPF / MVVM pattern for quite some time, so the following might not apply.
Normally, the UI (the grid in this case) should not directly work with database models as what you store is typically different from what you display and also due to a sep... (more) |
— | almost 3 years ago |
Comment | Post #286520 |
What does `_context.TagType` contain when you are trying to save in `SaveAllTagTypes`? I assume it contains the initially loaded items, because [the documentation](https://docs.microsoft.com/en-us/dotnet/api/system.collections.objectmodel.observablecollection-1.-ctor?view=net-6.0#system-collections-o... (more) |
— | almost 3 years ago |
Edit | Post #286511 |
Post edited: added relevant tag |
— | almost 3 years ago |