I have an idea for a project but it will require being able to create Kindle books on the fly on the server and preferably in .net.
I haven\'t found any libraries to do
You can try with Calibre. It has support for .mobi file format.
If you are already able to create an EPUB file, use the Calibre command line tool ebook-convert.exe:
ebook-convert.exe c:\file.epub c:\file.mobi --output-profile=kindle
As an alternative, you can produce PDF files, as they are supported by Kindle.