Want to master Clean Architecture? Go here: bit.ly/3PupkOJ Want to unlock Modular Monoliths? Go here: bit.ly/3SXlzSt Join a community of 1000+ .NET developers: www.patreon.com/milanjovanovic
Milan has magic typing skills. Type three minutes without ever needing to correct anything, while i had to correct myself 20 times writing this comment. The performance and quality of the AI is very impressive. But as Cursor is a standalone commercial product I doubt it will be very successful. They need to integrate it with the standard IDE's as commercial extension. But that means competition with GH Copilot. Not having a compiler or debugger, test-runner etc. is hindering. It would be interesting to see how good it still performs with shorter prompts as I doubt that many people are willing to type that much. Its great there is a strong competitor to GH Copilot. It will push GH to continue improving Copilot.
I think their main target is the JavaScript/TypeScript ecosystem. It doesn't really matter to me. I like the way the tooling is evolving. I'm hoping something comes up that we can use from VS directly, that would be amazing.
Definitely awesome! It's a pity we don't have such a thing integrated in VS. I like it, it saves you a ton of design time but you'd better review everything and amend to follow best practices or even ask the assistance to help you follow some patterns and constrains. What I'm not sue is whether it uses your style of working and code to train the models while JetBrains AI Assistance does not. It keeps your code confidential and secure.
I actually adopted it a bit differently - I still work in visual studio but I also open solution folder in cursor and refer to it whenever I'm stuck, forgot syntax or just to bounce some ideas off of it. It is indeed an amazing tool.
Yep, can definitely see the value of using both editors to complete tasks. That was going to be my suggestion as well. We definitely need a Cursor extension for Visual Studio.
This is an interesting demo of Cursor, and it raises some questions for the TDD process. Traditionally, TDD guides feature creation through carefully crafted tests that shape design and functionality. But with AI tools now able to generate entire features, how should we approach TDD? Should we still rely on tests to drive design, or should our focus shift? I'd love to hear others' thoughts on how TDD and design practices might adapt with AI-powered development.
I’m not convinced. If I can’t give it high level business concepts in the prompts, and instead must specify file names and how I want it implemented, it is harder than typing it myself. AI generated completions, on the other hand, increase productivity because you don’t have to switch between writing code and writing natural language.
I hope Jetbrain's AI will evolve soon to something like Cursor with much deeper IDE integration. I've used this AI and it has some IDE integration but not that near that Cursor has. And for more complex prompts I use ChatGPT Canvas 4o or ChatGPT o1-preview
It's very powerful tool, The big problem though is so many companies do not want the code base being sent over to AI companies. I presume cursor has no workaround for that at this time
Privacy mode terms: "If you enable "Privacy Mode" in Cursor's settings: zero data retention will be enabled, and none of your code will ever be stored or trained on by us or any third-party."
@@10Totti I thought it only has completions and side panel chat for the current file. Does it also auto-apply generated code and lets me review the diff? I can also choose which LLM to use for code gen? And there is a composer-like feature that will create/update dozens of files at once?
Ћао, баци поглед на cursor rules фајл, у њему можеш да наведеш сва правила за пројекат и структуру кода, такође би требало да користиш Chain Of Thought методу, тј. да напишеш пар примера кода, ова метода баш побошљава квалитет генерисаног кода. Фактички то можеш да користиш као шаблон за нове пројекте.
Одличан предлог, хвала! Овај видео сам снимао пре месец дана. У међувремену сам наишао на .cursorrules. За сада ми се чини да углавном поштује правила која му задам у оквиру тог документа. Али има ситуација када потпуно игнорише неке инструкције, поготово око стила кодирања.
One of your Patreon followers! Just want to say, enjoy your material and continued work on the videos. We need to train an AI on your videos... "Build with Milan" the ultimate pair programming AI.
Changed the game for the worse. I appreciate the productivity increase, but I like thinking too. In a few years we won’t have to think. Oh, well. That said, it is fascinating. Thanks for the video.
I think developers will move to human-in-the-loop. You'll need a strong engineering background, type most of the code using AI, and validate it yourself either via tests or debugging. Of course, there are cases that AI can't cover will and that's where your expertise comes in.
@it all kind of reminds me of that song by Rush, Temples of Syrinx. 😂 Again, I’m fascinated by it, but AI is eventually, going to put a lot of people out of work including the human in the loop.
instead of writing stories and checking what ai generates i would like to write code by myself when i am not working with hello world services or hello world domains as you show here. AI assisted development can also be preferable for the managers who wants to fire developer teams to save money. The last possible usage is for the guys who are not programmers but pretending that they are programmers in order to get easy money. They can try to produce code with ai which normally they can not.
@@MilanJovanovicTech I am not denying AI at all i use Copilot + Chatgpt daily while developing code, besides already helped to integrate the products wit Chatgpt Api in my company. I just began to see the things politically after my ex boss fired me off by saying one day he will also fire himself. The big target is always the same for high level programming: bring tools which can replace developers.
@@MilanJovanovicTech i don't deny anything, i have been using AI with Copilot/Chatgpt daily in my software development tasks for more than a year. I helped to implement Chatgpt API to improve user experience in my company's products. I just say that: The main target of the industry is to replace the high level programmers (your audience) with ai in order to not give them this monthly 4-5k$. Those type of developers will probable vanish while they are embracing this as a revolution, coolness or whatever it is.
Hello! Could you please explain how, in DDD, business entities like Customer and Courier are related to User (the actual user of the application)? Since business entities do not store authentication information and only hold data for business logic, I’m still having trouble understanding this. :(
They can be the same object in terms of persistence. What changes is the behavior and how you use them from the code. We have one ID assigned the User, and the Customer/Courier can use these values.
@@MilanJovanovicTech Will the ApplicationUser identifier be stored in the domain models, such as Customer and Courier? Or is it possible to link a business entity with an auth entity without a foreign key? Or is that what you meant?)
The principle and the idea are great. However, as long as Cursor cannot run, debug, launch tests, display references, or even show errors, I don't think it will be suitable for .NET.
As I mentioned above, Microsoft license does not support forks of VS Code (like Cursor). But you can make it work using Samsung's alternative NetCoreDbg.Tried it out yesterday and it seems to do the job.
This is because the official Microsoft license does not support forks of VS Code (like Cursor). But you can make it work using Samsung's alternative NetCoreDbg.
Milian, please make a video about OAuth2 authorization in .net. I will be very, very happy if you implement it yourself and add external providers: Facebook, Google, X. ❤❤❤
Want to master Clean Architecture? Go here: bit.ly/3PupkOJ
Want to unlock Modular Monoliths? Go here: bit.ly/3SXlzSt
Join a community of 1000+ .NET developers: www.patreon.com/milanjovanovic
Milan has magic typing skills. Type three minutes without ever needing to correct anything, while i had to correct myself 20 times writing this comment. The performance and quality of the AI is very impressive. But as Cursor is a standalone commercial product I doubt it will be very successful. They need to integrate it with the standard IDE's as commercial extension. But that means competition with GH Copilot. Not having a compiler or debugger, test-runner etc. is hindering. It would be interesting to see how good it still performs with shorter prompts as I doubt that many people are willing to type that much. Its great there is a strong competitor to GH Copilot. It will push GH to continue improving Copilot.
I think their main target is the JavaScript/TypeScript ecosystem. It doesn't really matter to me. I like the way the tooling is evolving. I'm hoping something comes up that we can use from VS directly, that would be amazing.
Definitely awesome! It's a pity we don't have such a thing integrated in VS. I like it, it saves you a ton of design time but you'd better review everything and amend to follow best practices or even ask the assistance to help you follow some patterns and constrains.
What I'm not sue is whether it uses your style of working and code to train the models while JetBrains AI Assistance does not. It keeps your code confidential and secure.
Let's see if VS or JetBrains integrates something like this first
I actually adopted it a bit differently - I still work in visual studio but I also open solution folder in cursor and refer to it whenever I'm stuck, forgot syntax or just to bounce some ideas off of it. It is indeed an amazing tool.
Yeah, great way to use it
Yep, can definitely see the value of using both editors to complete tasks. That was going to be my suggestion as well. We definitely need a Cursor extension for Visual Studio.
This is an interesting demo of Cursor, and it raises some questions for the TDD process. Traditionally, TDD guides feature creation through carefully crafted tests that shape design and functionality. But with AI tools now able to generate entire features, how should we approach TDD? Should we still rely on tests to drive design, or should our focus shift? I'd love to hear others' thoughts on how TDD and design practices might adapt with AI-powered development.
I wouldn't bother with TDD and AI (but that's just me). You may want to ask someone who actually uses TDD regularly.
I’m not convinced. If I can’t give it high level business concepts in the prompts, and instead must specify file names and how I want it implemented, it is harder than typing it myself. AI generated completions, on the other hand, increase productivity because you don’t have to switch between writing code and writing natural language.
It takes context from your codebase. If you already have good examples for the AI to figure out, I think the results would surprise you.
I hope Jetbrain's AI will evolve soon to something like Cursor with much deeper IDE integration.
I've used this AI and it has some IDE integration but not that near that Cursor has. And for more complex prompts I use ChatGPT Canvas 4o or ChatGPT o1-preview
Check out Claude 3.5 Sonnet, it's way better for coding
It's very powerful tool, The big problem though is so many companies do not want the code base being sent over to AI companies. I presume cursor has no workaround for that at this time
Privacy mode terms: "If you enable "Privacy Mode" in Cursor's settings: zero data retention will be enabled, and none of your code will ever be stored or trained on by us or any third-party."
Have you tried using cursor for Blazor frontend generation yet? Most demos on RUclips are all backend or JavaScript use cases.
Yes. Mixed results so far.
Wonderful video Milan as usual ❤ are you using Cursor paid version? If not, are you using an API key from a model and which one did you chose?
Cursor Paid
Great video, but why should you use cursor instead of copilot in visual studio? Where do they differ?
Can Copilot do the things I demoed here?
@@MilanJovanovicTech Yes.
@@10Totti I thought it only has completions and side panel chat for the current file. Does it also auto-apply generated code and lets me review the diff?
I can also choose which LLM to use for code gen?
And there is a composer-like feature that will create/update dozens of files at once?
@@MilanJovanovicTech yes to all the answers except that you cannot choose the model.
Hey Milan,
Can you tell me which is better Codium or Cursor?
Can you also make a video on Codium?
I've only used Cursor
Ћао, баци поглед на cursor rules фајл, у њему можеш да наведеш сва правила за пројекат и структуру кода, такође би требало да користиш Chain Of Thought методу, тј. да напишеш пар примера кода, ова метода баш побошљава квалитет генерисаног кода. Фактички то можеш да користиш као шаблон за нове пројекте.
PS: Баци поглед на "Prompt Engineering Guide", не могу да накачим линк, јутјуб брише коментаре за то.
Чем больше живу в Сербии, тем больше нравится ваш язык. Разумем, али ёш не кажем)
On topic, great proposal, thank you
Одличан предлог, хвала! Овај видео сам снимао пре месец дана. У међувремену сам наишао на .cursorrules. За сада ми се чини да углавном поштује правила која му задам у оквиру тог документа. Али има ситуација када потпуно игнорише неке инструкције, поготово око стила кодирања.
One of your Patreon followers! Just want to say, enjoy your material and continued work on the videos.
We need to train an AI on your videos... "Build with Milan" the ultimate pair programming AI.
Much appreciated, Mike! :)
I'm sure someone will do that sooner or later. Then I'll be able to retire.
This was great! I'm going to experiment with Cursor today on a project I've been meaning to start! Thanks Milan!
How did it go?
Changed the game for the worse. I appreciate the productivity increase, but I like thinking too. In a few years we won’t have to think. Oh, well. That said, it is fascinating. Thanks for the video.
I think developers will move to human-in-the-loop. You'll need a strong engineering background, type most of the code using AI, and validate it yourself either via tests or debugging. Of course, there are cases that AI can't cover will and that's where your expertise comes in.
@it all kind of reminds me of that song by Rush, Temples of Syrinx. 😂 Again, I’m fascinated by it, but AI is eventually, going to put a lot of people out of work including the human in the loop.
Funny because we've been trying to remove humans from the loop for decades because they're always the weak point in a process.
@@fifty-plusHumans are the process. But ignore me, I'm just being silly.
instead of writing stories and checking what ai generates i would like to write code by myself when i am not working with hello world services or hello world domains as you show here. AI assisted development can also be preferable for the managers who wants to fire developer teams to save money. The last possible usage is for the guys who are not programmers but pretending that they are programmers in order to get easy money. They can try to produce code with ai which normally they can not.
You are in denial, and I mean this with the best of intentions. I was exactly where you are a year ago, and I've since changed my perspective.
@@MilanJovanovicTech I am not denying AI at all i use Copilot + Chatgpt daily while developing code, besides already helped to integrate the products wit Chatgpt Api in my company. I just began to see the things politically after my ex boss fired me off by saying one day he will also fire himself. The big target is always the same for high level programming: bring tools which can replace developers.
@@MilanJovanovicTech i don't deny anything, i have been using AI with Copilot/Chatgpt daily in my software development tasks for more than a year. I helped to implement Chatgpt API to improve user experience in my company's products. I just say that: The main target of the industry is to replace the high level programmers (your audience) with ai in order to not give them this monthly 4-5k$. Those type of developers will probable vanish while they are embracing this as a revolution, coolness or whatever it is.
Hello! Could you please explain how, in DDD, business entities like Customer and Courier are related to User (the actual user of the application)? Since business entities do not store authentication information and only hold data for business logic, I’m still having trouble understanding this. :(
They can be the same object in terms of persistence. What changes is the behavior and how you use them from the code. We have one ID assigned the User, and the Customer/Courier can use these values.
@@MilanJovanovicTech Will the ApplicationUser identifier be stored in the domain models, such as Customer and Courier? Or is it possible to link a business entity with an auth entity without a foreign key? Or is that what you meant?)
Can you share the repo for this code? It would be good to review the code
This is Patreon-only, cause it's part of a larger series of videos: www.patreon.com/milanjovanovic
The principle and the idea are great. However, as long as Cursor cannot run, debug, launch tests, display references, or even show errors, I don't think it will be suitable for .NET.
It may come, it may not. This hasn't been a problem for me. I just keep VS open behind, and switch to VS when I need to debug.
As I mentioned above, Microsoft license does not support forks of VS Code (like Cursor). But you can make it work using Samsung's alternative NetCoreDbg.Tried it out yesterday and it seems to do the job.
How did you solve the debugging. Net issue with Cursor ?
At this point in time, debugging .NET isn’t supported.
Just switch to VS
This is because the official Microsoft license does not support forks of VS Code (like Cursor). But you can make it work using Samsung's alternative NetCoreDbg.
Do we have any alternative in Visual Studio?
No that I know of
We're cooked
We're just getting started
Cursor just changed the game
It's been about a while
It's the underlying AI that's making a difference 😁
Milian, please make a video about OAuth2 authorization in .net. I will be very, very happy if you implement it yourself and add external providers: Facebook, Google, X. ❤❤❤
im pretty sure he has published such a video allready
Wrong video mate 😁