Quantcast
Channel: User Dmitriy - Stack Overflow
Browsing all 93 articles
Browse latest View live

Comment by Dmitriy on gRPC ASP.NET Core. Passing custom typed objects in...

@MarcGravell I've read manual of your package. In the "Configuration Options" section you wrote that If I want to use own serializer, I should create new ProtoBufMarshallerFactory or implement a custom...

View Article



Comment by Dmitriy on Subscribe methods for channels in Redis in ASP.NET Core

@jjchiw, because I want to have an instrument to easy subscribing objects. If I would to pass Action<T> to the Attribute constructor, I could use Scutor for autosubscribing, and easy way to...

View Article

Comment by Dmitriy on Subscribe methods for channels in Redis in ASP.NET Core

Thanks! That's enough for my task!

View Article

Comment by Dmitriy on Get all only types used in the project from all...

@Josie G. Bigler Not exactly. So, Let's have 4 assemblies (1 main and 3 auxiliary, included in the main project), each assembly has types I use and I do not use. So, I cannot use Executing or Enty...

View Article

Comment by Dmitriy on Why there is no EF Core OfType(Type type) method?

Yes, but how will this allow me to cast to an inherited types filtering/selecting from DbSet<BaseClass>?

View Article


Comment by Dmitriy on Access connection strings from .NET Core and .NET...

See this stackoverflow.com/questions/47591910/…

View Article

Comment by Dmitriy on Why there is no EF Core OfType(Type type) method?

Oh, cool, thank you! Earlier I found a mediate solution using ".Where(e => EF.Property<string>(b, "Discriminator") == PassedType)", but it's not an elegant and wide solution. I'll try to...

View Article

Answer by Dmitriy for R function that uses its output as its own input...

Let me try to give an answer. So, firstly, I thought, that you need finite state automata function. This approach needs to use environment usage in which you need to store state and values for your...

View Article


Answer by Dmitriy for How to stop C# application's UI from becoming...

Use something like this: ... //You earlier code await Task.Run(() => /*your large file downloading code */); ...//Your later code

View Article


EF core 2.0, OwnsOne in TPH model classes

I have problem when I try to migrate my model in EF Core 2.0. public class Profile { [Key] public Guid Id { get; set; } public Guid UserId { get; set; } public ExternalUser User { get; set; } } public...

View Article

Method analogues for binding attributes in ASP.NET Core 2

I want to use my EF Core classes as views in my controller. So, I don't want to use binding attributes in my EFC classes, but want to make new classes, which are inherited from EFC classes. So, is it...

View Article

std::vector from native library to C++/CLI

Now I need to create a C++ -> C++/CLI -> C# wrapper for same code in native C++ library. This library has methods like std::vector<float>& Foo(std::vector<float>& vec,...

View Article

RTools packages compilation options

I have a package to install which hardly using computations (block written on fortran and c). So, I want to enable max optimization like mtune=native and other. 2 questions. 1) Where could I find and...

View Article


Find number of days between two given dates in Rcpp

I'm newbie in Rcpp, but I have a task which's connected with Date and Datetime. Let me have market data in DataFrame in my Rcpp function. So, Date field has formatting like this: 2016-04-19 00:01:00...

View Article

Thrust+boost code compilation error

I have strange problem which I can't solve. It's connected with boost+thrust code. Code: #include <boost/config/compiler/nvcc.hpp> #include <thrust/host_vector.h> #include...

View Article


Set c++14 standard usage for nvcc in MSVC 2017

Stupid question, but I can not understand how to set up c++14 standard usage for nvcc in MSVS (MSVC). I tried to add "-std=c++14" in the Command Line and "/std:c++14" in "Additional Compiler Options",...

View Article

ASP.NET Core: Where could I find whole IDX error list

Could anyone say me where could I see the whole IDX errors list? For example, when token expired, I get an error IDX10223: Lifetime validation failed. The token is expired. ValidTo: '[PII is hidden]',...

View Article


Pure ASP.NET Core Identity Server

It's really strange question, but... So, does any pure internal IdentityServer4 analogues in ASP.NET Core exist? I have some Web Services via WebAPI. These services are strongly independent, but I...

View Article

Answer by Dmitriy for Generating Excel from program data by the same schema

I've found a great (as for me and my tasks) package - https://github.com/mganss/ExcelMapper. I can't find similar packages with the same functionality. Hope, this project will have a long life!

View Article

Microservices communication message templates approach

I try to realize microservice-based project on ASP.NET Core (Web API). So, I have an independent components which communicate between them and external world. So, I have "connection points" between...

View Article
Browsing all 93 articles
Browse latest View live




Latest Images