.NET Data Community Standup: Lightweight Framework to Automate EF Components
dotnet
0:13 entity framework framework
0:22 Azure cosmos nappa nappa nappa Entity framework tool.
0:38 Countdown commencing.
0:39 T-minus 2 minutes.
1:07 Jeremy scare me.
1:09 Jeremy witness.
1:32 world.net Net data t minus 1 minute shark Yeah.
1:55 Yeah.
2:10 30 seconds.
2:26 Ready.
2:26 Ready.
2:29 4 10 9 8 7 6 5 4 3 2 1 liftoff.
2:40 We are go fornet data community standup.
2:49 Boom.
2:50 Just like that, we are live again.
2:52 One month later, now we also have Shai.
2:55 He kind of forgot about me couple of times and people asking
3:05 that's
3:04 he said he had better things to do.
3:10 Not answering that one.
3:12 Let's moving on.
3:14 Moving on.
3:15 All right.
3:16 Okay.
3:16 So let's talk about EF Core 11 and what we have in store this time.
3:22 So preview 3 is live now for a couple of days I would say not
3:30 weeks but days and again bunch of new features and changes and stuff like that.
3:36 So let me go through the list.
3:39 Uh as usually if you show uh if you check the show notes later you
3:44 will see uh the links to what's new in EF Core 11 and stuff like that.
3:50 So going quickly over the preview three
3:53 the change tracker has a new method called
3:55 get entries for state which allows you
3:59 to uh get entries without forcing the detect changes.
4:04 So you usually know hey I want only modify changes for example.
4:09 So you can do that through this API.
4:11 We now also have um uh methods uh on the configuration to remove extension
4:19 remove DB context and stuff like that at pull DB context factory and so on.
4:25 So if you're using DI with EF uh
4:28 or you are modifying some services definitely something
4:31 that will help you for the migrations uh there's
4:34 a new method uh exclude foreign key from migrations.
4:38 So if you don't want to have a foreign
4:40 key in migrations uh you can exclude that uh
4:43 with just one single call on the SQL server
4:47 side or query generation side let's say uh there is
4:51 a one huge improvement that shai is definitely happy
4:54 about uh if you have uh two one joins
5:00 uh originally we always generated bunch of order by uh
5:05 clauses and and joins which uh was not necessary.
5:10 So it was just wasting resources on the database
5:13 side to do the ordering and stuff like that.
5:15 Now it's it's not there.
5:17 Uh unless necessary if you do order buy and stuff
5:20 like that, it will be there but definitely simplifies a lot
5:22 of queries not only from the point of view of like
5:25 the SQL being generated but also the processing on the database side.
5:30 And we also have bunch of small new
5:32 additions like function uh for SQL server JSON
5:36 contains or uh in relational I believe it
5:39 is JSON path exist exists to be precise.
5:44 So if you are using this function or you want to use
5:47 this function and your database supports it which most of the databases
5:50 that have a JSON support do you can call it directly without any
5:55 hacks or anything like that with that shai you want to add something
6:00 did I forgot something no I don't think so maybe there's uh some
6:04 other things but uh you know we we work from preview to preview
6:08 and uh we're I'm I'm already kind of I already forgot what
6:11 was exactly done for three because we're now concentrating for and so on.
6:14 But I think you you nailed the list pretty much.
6:17 Yeah, this is the the the weird thing that for us
6:21 it's basically net 11 is current because we are working on it.
6:25 So if somebody says, "Hey,
6:26 I upgraded to .NET 10." I'm like, "Wasn't that last year?"
6:31 Yeah.
6:30 But it is actually current 10, but you kind of live in the plus one version.
6:35 All right.
6:36 There's there's one thing I think maybe maybe you left up,
6:38 but I again might be confusing.
6:40 There's support for the new version of SQL Server vector search.
6:43 Uh that's something that we're working on for 11.
6:46 It's still going to evolve.
6:47 I'm now working on improving it even further for preview 4.
6:51 But basically on Azure SQL,
6:52 you now have a new version of the of the vector index and vector search.
6:57 Uh and EF Core already supports that.
6:59 So if you use preview 3, you're you're already using the very last version.
7:03 Again, be careful because it will evolve further.
7:06 It will change in various ways during from the previous.
7:08 If you don't mind being a little bit on the little on the you know bleeding edge
7:12 which you shouldn't mind too much then it you
7:14 can use all these things very cleanly from EF.
7:16 So that's cool right and that reminds me one final thing EF core
7:22 now references uh Microsoft data SQLite uh not SQLite SQL client version 7.
7:29 True.
7:30 So definitely test that out because it's a next major version.
7:34 So you might encounter some unexpected changes and stuff like that.
7:41 Indeed.
7:40 With that uh let me introduce our today's guest which is Klaus uh
7:48 and he will be talking uh about
7:51 the lightweight framework to automate EF core components.
7:56 Claus, you want to introduce yourself?
8:00 Yeah, of course.
8:00 Thanks.
8:01 Hello, my name is Claus.
8:02 I stay in Hamburg and near Hamburg and I'm developer for nearly 40 years,
8:09 not uh 35 I wrote in the script and I like C.
8:14 I think my C is much more better than my English.
8:18 So excuse me um if I'm not perfect and I would like to show you what I developed
8:26 the last two years and uh the reason why I
8:32 created this framework was my credo do nothing what anybody
8:37 else can do for you that's the reason why
8:40 I have created this and a Microsoft with reflection can
8:44 do a lot of things for you or for the developer
8:49 Laziness is the best thing you can you can I can't hear you.
8:54 Really?
8:54 Uh Yi, can you hear me?
8:57 I can hear you yet.
9:00 Claus, can you hear Yi?
9:01 I don't hear you.
9:05 Uh a bit of technical difficulties.
9:08 I'm not sure is this for this uh streaming point and I can hear everybody.
9:15 Okay, that's that's okay.
9:18 I'll read your lips.
9:25 Okay.
9:24 All right.
9:25 Let me bring your presentation and we can take it from there.
9:31 Okay.
9:31 Fine.
9:32 Uh I don't want uh show you the whole presentation.
9:36 I think I show you some um pages uh because
9:41 the important thing is the framework for itself and the code.
9:46 Um as I told yes something about my person and this is
9:52 the reason I told you again why I created the framework.
9:57 The framework is based on net.
9:59 It uh is created for the version 7 8 9 and 10.
10:05 Um surely 112 when 11 it's ready.
10:10 And I only use net framework technique.
10:15 There's nothing else.
10:17 Everything is compatible with the network tools and in the net um framework.
10:22 I have ne nothing done for my own.
10:25 That's it depends all of the standard framework.
10:30 Okay.
10:31 Some key features I have um how I uh should
10:36 uh tell uh um my own uh settings and normally
10:42 you know you have the app settings and my idea
10:45 was uh I don't want to have everything more than one.
10:52 I don't don't like redundant settings,
10:54 redundant code and so I have a other way to um use settings.
10:59 It depends on the um app settings of course but you have for every uh key point
11:06 a key feature your own settings file and the framework
11:11 combines all the settings to one app settings.
11:14 That's the idea and I have a shared folder with all my settings.
11:19 this uh one special thing of the framework.
11:22 Uh the other thing is that without any line of code
11:27 you has for every um model uh or for all
11:31 entity um 15 endpoints with a generate root um
11:37 operations and one uh of the feature is expression queries.
11:45 So if uh you start with your development
11:50 I think you don't need any more um endpoints.
11:54 Of course in a complete application you
11:57 will have um your special uh endpoints that's
12:01 okay but um in the beginning I have tried to work only with this 15 endpoints.
12:10 Um everything is strongly typed uh client per entity.
12:16 It's always automatically restrained in the DI container.
12:20 You have nothing uh to do in this case.
12:27 Uh I have some uh other build uh
12:32 built-in cross tools like swagger and open uh RP.
12:38 I have uh completely translation online translation help check
12:43 of uh included course a single air I use the RP
12:49 gateway y um and you have in this case you
12:55 don't have to write any line of code everything is
12:58 uh created by the um framework uh I use zil
13:03 lock and I have a push uh messaging and email
13:07 scheduleuler because I if I started with the framework I
13:12 was writing an app and I needed this uh functionality.
13:21 This is a a very simple uh setup of the framework.
13:26 So uh you starts with the program CS.
13:30 You uh defines your settings.
13:34 You write or creates your models.
13:37 You um create a class with data seed and you uh have your data migration.
13:48 A typical um program CS looks like this.
13:52 you uh have using to my uh framework.
13:56 This is standard.
13:57 Uh you create the builder.
13:59 Uh with this line of code,
14:01 you add my factory and with the other red line, you add my factory apps.
14:08 That's all you have to do.
14:11 Of course, you have to include the packages.
14:13 Uh some words to the settings.
14:20 I told you I have uh my own um
14:22 configuration service that do nothing else as uh read all
14:27 the settings files I included in the projected in the project
14:31 and combines this in one app settings that's all.
14:34 So I have the possibility to use one
14:37 setting files more than for only one project.
14:40 That's the idea behind these only uh four uh settings
14:49 files uh which we need in this example in the session.
14:52 Here you see this is the main model and this is uh
15:02 the trick behind the automatic generating
15:08 um controllers rest services and so on.
15:14 I have um an attribute advanced table info that has the uh name of the table.
15:22 That's a model name.
15:24 And I have a second parameter uh the service name.
15:30 It's possible to have multiple uh models in one service.
15:38 The next important thing is that every cont every model uh
15:44 which has I advanc entity is automatically read in my framework.
15:51 That's the idea and everything else you
15:55 see normal properties you can everything use
15:59 uh you use an normally to um navigate between tables and uh or entities.
16:08 I have the advanced table relations.
16:10 In the next version you don't need uh to add this lines.
16:15 it's uh automatically two and in this case I have the uh the item
16:22 for from the other model and the relation type
16:25 one to many or many to many that's all close can you hear me back
16:34 this programs and this kind of model configuration is all you have to do
16:42 um to use my framework and to um get all the functionality of my framework.
16:48 You have nothing else to do.
16:53 Um the data migration is uh fully complete
17:00 standard data migration of the uh net framework.
17:04 It works in writer visible studio.
17:06 There's nothing else.
17:08 Um I have from uh for the framework uh an a framework data context
17:16 and you create just a class data context and inherit this from this uh context.
17:23 Everything else is worked for yourself.
17:30 Now I will switch to the code because it's a twisting one.
17:38 I have a demo solution and first um I go to the and remove the database.
17:55 I told about this uh settings in this um solution.
18:01 I have four settings.
18:03 This is a comment file.
18:04 In the cabin settings file you define uh for example
18:09 if you want to use swagger I will use it today before it's easy to show uh which
18:15 kind of endpoints are created um and in this um
18:20 common settings um we can define the services
18:25 for example I have the contact service and I have
18:29 my migration service it's possible to do it in one
18:33 service But I uh like to have two services.
18:38 One for the application and one for the migration part.
18:42 In the coming file names, I can add all this uh uh setting
18:47 files um which uh should include in the application.
18:52 on the end after starting the application uh we have
18:56 the same as one app settings with the um database settings
19:04 it's possible um I can have more than one database
19:08 configuration in in the app for example uh I have I
19:13 have my identity service on Oracle server it's no no
19:17 problem I can configure the Oracle server configuration here on both
19:21 works together the B the database types defines uh if it's
19:27 MySQL it's Oracle uh Postress server and so on the database
19:34 name is the name in the database uh and the server
19:41 settings is the is the same it's possible to have
19:45 several servers or several physical servers and this is a connection
19:50 for the server That's all we need in this short
19:54 example for of course uh in this example I have
20:01 created a contact service and I have the model I told
20:12 for example this you see is it's very very simple you
20:17 can use all of standards like indexing attributes and so on.
20:23 And this is a little bit complex uh model.
20:26 So you can see the navigation is work
20:28 fine and it works with enumeration everything you
20:36 need everything you know I told you uh
20:45 I spoke from the datab database concept for integration.
20:48 This is this one.
20:53 You you see very few code and here is the um DBC um method.
21:09 Mhm.
21:06 Uh this lines is the client side um for the um data um migration.
21:18 Here you can configure the rest service on rest
21:21 client or in this case it's not rest
21:25 client sorry the rest clients I show you
21:27 later this is the data context in the service
21:30 um to create your first data it's very simple when when you um has inherited
21:39 from this interface the framework automatically um execute
21:44 this uh class and you and create your first data.
21:50 So I have a lot of uh demo data.
21:52 Then we can see uh something this is
21:59 the uh normal migrations you know and oops uh
22:08 in the beginning I have deleted the database
22:11 and now I created the first database by migrations.
22:16 I write in my uh a script for this.
22:18 It's easier.
22:19 And I executed it.
22:35 I looked a lot in the net uh of um information
22:43 about this error but everybody told me that is not an error.
22:49 It's a feature.
22:50 I don't know if I uh have a change in the uh immigration because I
22:56 add a new uh property uh I I don't get this uh mistake or this error.
23:03 Please ignore it.
23:04 I do it.
23:05 It works.
23:05 I have never troubled with them.
23:08 I Yeah, I think you can't hear me.
23:10 The database is created again and I'll just say for the purpose of our uh
23:19 I use a Postgress SQL and it's possible to have Can you maybe stop for a moment?
23:26 Shai wants to say something.
23:30 Yeah.
23:30 Yeah.
23:30 Uh yeah, it's really unfortunate that I can't talk to you and it's
23:33 it's really weird that uh you can hear Yi but not me.
23:37 Uh that warning is actually related to the Postgress provider.
23:40 Um it's unfortunately a well-known annoying thing but it
23:44 happens only the very first time you create a database.
23:47 Uh it's part of the whole setup of when EF
23:51 the EF provider is checking whether the database exists or or not.
23:54 Anyway, I just wanted to make that clear.
23:56 It's a it's a very postgress specific thing and this gives me
23:59 more motivation to maybe go and look at it at some point.
24:01 But uh anyway
24:04 I have I have lots of questions and comments but uh I guess we'll just let
24:08 post uh SQL has a possibilities of sheimas and you see uh contact service is
24:16 a shima name and I uh defined it in the settings in the comment setting.
24:23 This is one of the property.
24:26 So I can um or I can have a lot of different ashimas.
24:32 We will see later in the second example that we have another one.
24:41 Now I try to start the application.
24:54 And I have a console application too.
24:58 I run it.
24:59 Um too it's a little bit stupid.
25:07 I have to Oops.
25:12 Everything works.
25:14 It's for me only a check.
25:21 I think it shows uh only that it works.
25:25 Patrick is finish and the other way I start swagger
25:36 and these are all the endpoints created by the framework.
25:45 Um I go to the contact item for example.
25:48 Um you have a get all you have a get by expression uh get by ID.
25:58 You get first or default out by expression and so on.
26:03 Everything you need is in this endpoints and included and I yeah
26:10 I I have a question.
26:11 This is generated on the fly as the application
26:14 is running or this is generated while you are compiling.
26:19 No, on the on the fly while the uh um applicator is running.
26:25 Okay.
26:27 Close.
26:25 Can you help me now?
26:26 Maybe close.
26:29 Endpoints have some features.
26:33 Try it.
26:33 For example, um I will execute it.
26:37 You see it's a flat list, a plain list, but it's possible because it's a model.
26:44 Um, I can use all includes and I have
26:50 uh everything addresses and so on whatever you like, right?
26:56 Uh and you have a fully page paging completely included for every endpoint.
27:11 That's is that's the idea and when
27:13 I start with the application maybe in prototyping
27:17 I only use this one because uh of the uh endpoint with get by expression I
27:24 can use a lambda expression and so you get all your information you need
27:29 and the um execution of the lambda expression
27:34 is on the server not on the client side.
27:36 you only um sends the expression to the server
27:39 and gets the result from the server.
27:43 It works really fine.
27:45 Um the expression is sent as as a as a string or some kind of O data.
27:52 Can you maybe show Yeah, it's a kind of string.
27:58 Okay.
27:57 It's a like kind of yeah configured string I
28:01 have to say and very simple and very fast.
28:06 So, and can you can you maybe show us how the expression looks like?
28:12 So, we can get of course I think I have one in this.
28:17 So it's a normal uh standard um expression of uh I think here we have
28:24 one here for example very simple but you
28:40 can do a a complicated lumbar expression.
28:45 Mhm.
28:45 Okay.
28:46 It's the same.
28:48 You have an object and point find by else or something.
28:52 This is really simple.
28:56 You can create any lambda expression.
28:58 It works.
29:00 Uh ah here's something else.
29:02 Okay.
29:05 Yeah.
29:07 So, so you have all possibilities to work with data.
29:12 Of course you will.
29:16 I'm sure in a big application special application for for banking and so
29:21 on you need your own endpoints for special
29:23 operations of course but but the beginning
29:27 you have all you need to work you don't have to wait of colleagues
29:32 they have another endpoint finish you can make um tests systems and so on
29:41 right is there some option to like configure what is allowed,
29:46 what is not allowed, how is it processed on the server?
29:48 Because security-wise,
29:51 if this would be a public facing or internet facing endpoint,
29:55 it would be quite problematic, right?
29:58 Because you can do crazy stuff in the
30:02 I have yes, I have another example for this.
30:07 Okay.
30:09 Um, this is a very simple uh example of using the framework.
30:13 That's the idea to show how it works.
30:16 And now we switch to the other example.
30:20 Mhm.
30:23 And I stop it.
30:35 Um in my framework I have a completely identity system included.
30:41 Very very easy, very very simple.
30:44 And you see in this example I have some more setting files.
30:52 In this uh common settings files I have the flag use identity service true.
31:00 Okay.
31:00 uh and this is in this version of a mistake and backed bug and so I have to use
31:08 the message service of true but it's not working
31:10 and we know we don't use it in this example uh
31:17 okay and I told it's possible to have uh
31:21 different services my idea is I have my normal
31:24 contact service and I uh the identity services
31:28 running separate uh in a separate database shamer too.
31:33 it's possible to have another database.
31:36 Um then you um enter these keys and then uh this service uses this uh properties
31:52 right?
31:52 If if the whole service use one database and one
31:55 service uh I use the default name it is easier.
32:00 Uh for the identity service I need the identity service settings and uh the SIM
32:06 account settings because um for some operations
32:10 system operations you don't need a special user.
32:15 Mhm.
32:15 That use um system account settings um message settings uh needed
32:21 because I have a bug and uh already the server settings.
32:28 That's for example um you have to do to u
32:32 uh uh if you want to have identity um uh use
32:37 identity service sorry um to um create the identity service
32:43 a separate small uh project is the same as the contact service.
32:50 I have nearly the same uh program CS.
32:57 I have my DB initialize my C uh file to create my first user and so on.
33:07 Mhm.
33:07 It's everything the same.
33:09 Uh that's I'm working with constants.
33:11 That's not necessary.
33:13 I like it to have constants.
33:15 That's all.
33:16 And the difference between the contact services that I have
33:22 in the serving settings in the app settings of the uh
33:27 project uh the property is identity service identity service instance
33:34 because the whole identity service is included in the framework.
33:39 Mhm.
33:39 And it is possible uh to have everything in one uh
33:44 project but it's I think it's not uh not the way uh
33:48 do you uh do you uh have to develop we working
33:53 in services and everything is your own service that is the idea behind right
33:59 and with this identifier the uh project uh knows I am the identity um service.
34:10 This is the service name I showed in the um common settings
34:14 and that's all you need.
34:16 Nothing else.
34:18 And I No, it's that's perfect.
34:22 You see, currently we have only the contact um service.
34:27 If we run the the um identity service and we take a fresh numbers.
34:46 Now we have uh the sheima identity with all identity tables right
34:54 it will be created automatic if if you will use it.
34:57 Uh okay okay we have now yeah
35:02 few questions in here so let me bring them on screen so the first one is kind
35:08 of a generic we could maybe cover it at the end but I would forget about it.
35:12 Why use JB 24 framework?
35:15 Basically your framework.
35:17 What can I tell to my boss for purchase reasons?
35:22 Um you you save a lot of time really a lot of time because uh
35:29 the um the the basic framework because
35:34 the entities and the controller is only one part.
35:37 you will see you have a complete um identity system included
35:42 with or out uh in the next version with a UB key uh
35:48 technical it's you have nothing to do uh with the basics operations
35:55 you uh every application needs that is the idea uh behind the framework
36:01 I think uh especially for prototyping but now I use it for every application.
36:09 So I I only write the model
36:12 and maybe uh uh special needed controller for example.
36:17 I show you how it works with with the next with with a normal controller.
36:21 Um that's the idea.
36:23 You save a lot of time and you don't do things um twice or more.
36:30 That's the idea behind the the idea.
36:35 Okay.
36:36 Another question is whether it applies to .NET Framework 4.8.1.
36:45 Um, not yet.
36:46 Not yet.
36:50 Okay.
36:53 Okay.
36:53 So, um, the identity service is running and now I start the contact service.
37:13 And for example, I go to the contact item again.
37:20 Try it out.
37:24 Error uh error unauthorized.
37:28 Um what I have to do the normal way
37:32 um I go to the identity service to the login.
37:43 I hope I have it here.
37:44 Try it out.
37:46 Yeah.
37:47 Yes.
37:56 Um, and yes, a token and go to the the SL
38:10 goes and do it again and I get the data.
38:17 Uh so I'm authorized.
38:19 Um so identity
38:21 I have a I have a question about
38:23 the the identity authorization and stuff like that.
38:26 Is this like a standard new get package something
38:31 or is it completely custom custom something that you
38:37 Yes, this is completely um developed by myself.
38:42 Um but it depends on the default uhn net authorization system.
38:51 Okay.
38:53 So and the identity system includes the whole group and role uh system.
39:05 Mhm.
39:03 That's it's not just um a question about a token or the a user
39:11 must have for example read or write permissions or modify permissions.
39:20 Mhm.
39:18 Uh and I go to the so uh I have
39:33 an object user roles and so I can add um permissions
39:39 for examples right this is the default permissions um currently I'm
39:50 working on a um UI system for UNO platform and for blazer
39:56 um that you have um if the uh developer
40:00 or the user like uh completely the um user management.
40:06 Okay.
40:05 And you you only have to uh use your own UI like um CSS or so on.
40:11 Right.
40:11 Right.
40:13 The idea uh behind my system is the all the stuff every
40:19 developer need should be in the uh framework included the main stuff.
40:26 uh in the UI um system I have the color management,
40:31 the scene management and the uh language management
40:34 so that you have nothing to do with this.
40:38 Um I create for example for the UNO platform uh
40:42 my own controls um and all controls are automatically um localized.
40:50 That's a developer used the uh control and u decided which language uh
40:59 his um application should support and all
41:04 the controls use this translations to automatically.
41:12 Mhm.
41:10 Maybe for uh other uh session.
41:13 Uh okay.
41:15 I have I have another question because
41:18 it's interesting for me and for Shai definitely because we
41:23 we spend a lot of time translating um the link expressions into an SQL
41:31 and given that the user can send basically arbitrary expression
41:36 how do you do the translation into like
41:43 into the expression that is then executed by entity framework core.
41:50 Um I um in my framework um I can show it.
42:05 It's easier to show.
42:07 Mhm.
42:08 Yes.
42:17 Um I have um I uh for the endpoint
42:21 you write the normal link or lambda expression.
42:25 Uh the endpoint gets the expression and I have um yeah I think
42:31 what's interesting is the method that's on line 51 convert string to expression.
42:39 Correct.
42:37 That's what yes how it works.
42:42 Uh it's very simple.
42:44 I zize and do that and I um for executing the endpoint I
42:53 serialize the expression um it gives uh there's a normal um link uh serializers.
43:03 It's a uh nougat package from net.
43:08 I zerize the um I'm uh how I explain it?
43:13 Yes, it's a kind of zerize zerizer and on the endpoint I serialize
43:21 the expression and here and on the back end side I deserialize it.
43:27 It's very easy.
43:32 Interesting.
43:35 Um sh you have some questions.
43:37 would love to know which Nougat package this is.
43:39 Let me here zeroize link.
43:42 This is the okay
43:49 package and Shai is now googling it.
43:52 It's okay quickly.
43:58 Okay, thanks.
43:59 Let's continue.
44:01 Yeah.
44:01 Yeah.
44:02 Okay.
44:06 So you see um the identity service it's very easy to uh
44:14 integrate and one for my opinion interested feature is for development I
44:24 don't want to use every time the um login and so
44:29 on and it's very easy only in the coming settings set or false.
44:36 And when I start the service again,
44:59 I don't use any authentification, just the switch in the settings.
45:05 And for development it's it's very practical.
45:10 Mhm.
45:13 So um I would like to switch
45:16 to the easy the first example because I forgot something.
45:22 Um of course it's possible to have your own controller.
45:34 Um just a simple controller and when starter contacts
45:53 so I have now I have the plane endpoint here.
46:10 This that's standard of course.
46:13 And if you want to add some new endpoints
46:20 to the one of the gener generic controller, it's possible too.
46:25 Mhm.
46:26 Um you um inherit from the um um generic controller
46:35 and you have to use the right name of the controller.
46:38 You can see the name you get in the documentation and you get the name
46:43 of course if you run in swagger you see the controller name uh and if
46:49 you inherit this with the advanced controls
46:51 the basic class of the uh controller you
46:55 can add um your end points you need do it again debug so So, contact item.
47:22 Oops.
47:24 Contact item.
47:25 Here's a uh addit endpoint.
47:28 Mhm.
47:38 Yeah, perfect.
47:39 It works.
47:42 Yes.
47:43 Um, now is the contact service.
47:49 All right.
47:50 Um, I showed the um contact service with the identity service.
47:57 That's uh here you can see the methods the endpoints of the generic repository
48:07 and here are the endpoints of the registration
48:11 controller and the identity service controller.
48:15 um in the identity service is completely included.
48:21 Um the flow for registration user from confirming
48:26 user uh by email and so on everything
48:30 um uh complete and you for the um lay out of the emails confirming emails.
48:38 You have one um file um to create um and then the service use
48:47 this wire and you can have your own
48:50 designed emails for the registration and so on.
48:55 Mhm.
48:57 Yeah.
48:58 Okay.
49:00 Uh currently we are working uh on the final um on the finalizing
49:07 of this new version and is anyone interested to try it out.
49:12 You have to uh write email to this uh address
49:16 and then you get a version to test and to try.
49:19 No problem.
49:21 I think um end of the next week uh the new version is online
49:28 and then you can go uh you can use my um home uh page.
49:33 Yeah, you you will find everything here, right?
49:37 Um somebody asked in the chat whether you have some
49:41 uh getting started page or project page or something like that.
49:46 Uh yeah I have um on my website um is you
49:52 will find a lot of um stuff to start and so on.
50:01 Okay sh maybe we can try again whether your sound goes through.
50:11 Claus you still can't hear me right?
50:12 No, that's weird.
50:18 Yeah, that's weird.
50:18 I I mean I'm happy.
50:20 Uh that's okay.
50:21 I have many many questions and comments, but it's fine.
50:24 We'll uh we can talk about them some other time.
50:29 No, no, no.
50:30 Feel free to ask a question.
50:31 I can I can forward it.
50:33 I will be middleman.
50:35 Okay.
50:37 Yes, we can try.
50:37 I mean, so I've one question u maybe uh the audience is wondering as well.
50:42 I'm seeing a lot of the components here
50:44 that are developed by you like um I heard uh
50:47 stuff starting from a whole identity service and user
50:51 management going through UNO controls and like this is
50:55 a lot uh of stuff that feels like you're
50:58 trying to do something that does everything and I'm wondering
51:02 um how how that can work like I'm I'm
51:04 guessing you're not like a huge company and and so
51:07 on and uh I'm it's a little bit concerning
51:10 uh so I'm I'm just interested interested in how
51:12 how you see this thing like it's one thing
51:14 to integrate to basically just integrate existing components but you're
51:17 also uh actually doing stuff like identity service which
51:20 is each one of these is like a really huge
51:23 thing and and you're saying I'm going to solve
51:25 everything here so what are your thoughts on this Yi
51:30 okay there was a long question I will try to do I'm sorry I'm sorry
51:34 a little bit shorter so Shai is asking that you have this uh this this framework
51:39 that's like doing everything from user management
51:43 to uh identity and stuff like that.
51:47 And he's wondering that there's it's one thing to integrate those services
51:53 together or have it created from scratch like for example your identity service.
51:58 So how is this supposed to scale for example like you are
52:04 probably not a huge company with with a huge number of employees.
52:07 So if you can comment on on that.
52:10 Okay.
52:11 Uh I started uh with an empty project uh and I had the problem
52:19 by this project was I have no time and this was the beginning of the framework.
52:25 I remembered all my uh finished projects that I done
52:32 a lot of things uh twice every time again and so on.
52:38 So I decided I might uh make a break
52:42 with my normal job and created this framework.
52:47 And really uh the first idea was only to create the part
52:52 with the entity framework to create models automatically and so on.
52:59 uh after this works uh I learned a lot of um
53:07 reflection that was the really the main uh reason a lot
53:12 of affliction and uh yes as I learned a lot
53:16 of reflection and that's was the idea I do a lot
53:20 of more uh things uh which I need to create
53:26 a app for example Uh um my last project was uh app
53:32 for uh uh votings uh of of um politic votings and so
53:44 I uh for this I needed uh a language uh tool.
53:48 I needed a design tool uh designing functions,
53:52 language functions, security functions and so on.
53:56 And I don't like to have a very big programs.
54:03 That's that's it sounds a little bit stupid.
54:07 Um but I like very clean code.
54:11 And the first step was I have for every um separate uh theme for language my own
54:21 um small uh project and the last thing I have to do to put it in one package.
54:30 That was the final uh work I have to do.
54:33 Um but I uh because the question I started from scratch.
54:39 Yes.
54:43 Okay.
54:45 Uh I have maybe a question that will come up eventually.
54:49 Uh is this something that people can download
54:53 for free and try or is the license?
54:55 What is the the pricing strategy and stuff like that?
55:00 Uh the pricing and you can see it on my uh website of course.
55:05 Um everybody can uh get a a trial license of course and the idea
55:11 is um the price of the whole library um is €20 per month.
55:18 So yes and everything unfunctional it comes uh I put it together it's included.
55:26 Okay sh you have some question.
55:31 Um I I'm specifically wondering on the identity and authentication.
55:35 This is something that famously uh nobody
55:39 should implement uh because it's very very
55:42 hard to get these things right and anything
55:44 related to authentication is very very tricky.
55:47 So are there really were there no uh ready
55:50 options like out there in the net world that were
55:53 good enough that you had to develop your own like
55:55 I know there's duenda identity and other things like this.
55:58 I'm wondering specifically about that decision.
56:01 Right.
56:01 So, Shai is wondering if you started this project
56:06 uh and given that the audi uh the identity
56:08 and authorization and all stuff around the around
56:11 the O people probably should not implement them themselves.
56:16 Whether you found that there is no good that there
56:21 is no good implementation available so that you started
56:25 doing doing it yourself instead of using some already
56:30 available uh nu get package community project something like that
56:36 um uh the real reason is um why I created my own way is that every net system.
56:46 A lot of the main net application use
56:50 the generally package from Microsoft and it sounds maybe
56:57 a little bit crazy but I think if one knows one some knows how it works how
57:03 it can crack and so on um he he knows for everyone and I have something special
57:10 things in my framework that's only in my framework
57:15 work and that's not for every thing the same.
57:19 That's the idea.
57:21 It's only it's it's like um I identity server from Microsoft or from Google.
57:28 Um I don't like to have all my stuff on uh the services.
57:33 It's a kind uh the question for me of security more a little bit more security.
57:39 I don't know um if if it's poss if it's possible to um crack
57:46 the Microsoft uh tools but that's for me the main reasons and I have something
57:54 uh special uh things implemented that I need for example uh the um UB
58:06 key tools and the um OOT of uh to my own server and so on.
58:11 That was uh reasons too.
58:17 Okay.
58:17 Um great.
58:17 Yes, I can say I want to have the identity management in my own hands.
58:23 Maybe it's a short answer.
58:25 Okay.
58:26 So, we are slowly running out of time.
58:30 So first of all I will ask people that are listening or watching
58:34 live that uh we will be taking the last question or questions
58:39 in the meantime uh anything else you would like people to know about
58:45 this project kind of like wrap up sentence paragraph something like that close
58:52 no I think no okay okay for me
58:56 I don't see any new questions coming in so shy you
58:59 have your last chance to well ask and not ask a question.
59:05 No, I'm good.
59:08 Okay, so that was great.
59:09 Uh Claus, thank you for your presentation.
59:12 Hopefully people find it interesting and
59:16 um we'll contact you and you will get some
59:18 new ideas what they need and what they don't need.
59:21 That's great.
59:22 Yeah, with that um we are out of time.
59:26 So see you again in roughly a month on another net data community standup.
59:36 All right.
59:35 And enjoy nicer weather at least if you are in the same hemisphere that we are.
59:42 Obviously if you're in the other one and it's going to get slightly different.
59:47 Okay.
59:48 Have fun.
59:48 Enjoy.
59:50 Thanks.
59:50 Thank you very much for your time.
1:00:05 Heat.
1:00:06 Heat.
1:00:34 Heat.
1:00:34 Hey.
1:00:35 Hey.
1:00:36 Hey.
1:01:06 Heat.
1:01:18 Heat.
1:01:27 Heat.
1:01:28 Heat.
1:01:29 N.
1:01:37 Heat.
1:01:38 Heat.
1:01:39 N.
1:01:47 Heat.
1:01:48 Heat.
1:01:49 N.